Improve installation
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user