diff --git a/example-sdl/CMakeLists.txt b/example-sdl/CMakeLists.txt index 5173f7b..2761bc9 100644 --- a/example-sdl/CMakeLists.txt +++ b/example-sdl/CMakeLists.txt @@ -4,11 +4,11 @@ find_package(GLUT) if(SDL_FOUND AND OPENGL_FOUND AND GLUT_FOUND) include_directories(../src ${SDL_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR} ${GLUT_INCLUDE_DIRS}) - add_executable(example-sdl sdl.c) - target_link_libraries(example-sdl wiiuse ${SDL_LIBRARY} ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES}) + add_executable(wiiuseexample-sdl sdl.c) + target_link_libraries(wiiuseexample-sdl wiiuse ${SDL_LIBRARY} ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES}) if(INSTALL_EXAMPLES) - install(TARGETS example-sdl + install(TARGETS wiiuseexample-sdl RUNTIME DESTINATION bin COMPONENT examples) endif() endif() diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 90a1c44..40f256a 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -1,8 +1,8 @@ include_directories(../src) -add_executable(example example.c) -target_link_libraries(example wiiuse) +add_executable(wiiuseexample example.c) +target_link_libraries(wiiuseexample wiiuse) if(INSTALL_EXAMPLES) - install(TARGETS example + install(TARGETS wiiuseexample RUNTIME DESTINATION bin COMPONENT examples) endif() \ No newline at end of file