Improve installation

This commit is contained in:
Ryan Pavlik
2010-11-11 12:06:14 -06:00
parent 737a04255b
commit c2c1dca625
4 changed files with 23 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
include_directories(../src)
add_executable(example example.c)
target_link_libraries(example wiiuse)
target_link_libraries(example wiiuse)
if(INSTALL_EXAMPLES)
install(TARGETS example
RUNTIME DESTINATION bin COMPONENT examples)
endif()