Merge remote branch 'origin/master'
This commit is contained in:
7
example-sdl/CMakeLists.txt
Normal file
7
example-sdl/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
find_package(SDL)
|
||||||
|
|
||||||
|
if(SDL_FOUND)
|
||||||
|
include_directories(../src ${SDL_INCLUDE_DIR})
|
||||||
|
add_executable(example-sdl sdl.c)
|
||||||
|
target_link_libraries(example-sdl wiiuse ${SDL_LIBRARY})
|
||||||
|
endif()
|
||||||
3
example/CMakeLists.txt
Normal file
3
example/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
include_directories(../src)
|
||||||
|
add_executable(example example.c)
|
||||||
|
target_link_libraries(example wiiuse)
|
||||||
Reference in New Issue
Block a user