Change the target names of the binaries

This commit is contained in:
Ryan Pavlik
2010-11-11 13:20:00 -06:00
parent fa5763db04
commit 7c06e81243
2 changed files with 6 additions and 6 deletions

View File

@@ -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()