equal
deleted
inserted
replaced
20 include_directories(${ClanLib_INCLUDE_DIRS}) |
20 include_directories(${ClanLib_INCLUDE_DIRS}) |
21 set(LIBS ${LIBS} ${ClanLib_LIBRARIES}) |
21 set(LIBS ${LIBS} ${ClanLib_LIBRARIES}) |
22 |
22 |
23 # Assumes the project generates only one executable. If you need more, you'll need to alter |
23 # Assumes the project generates only one executable. If you need more, you'll need to alter |
24 # the script and replace ${PROJECT_SHORT_NAME} by executable name. |
24 # the script and replace ${PROJECT_SHORT_NAME} by executable name. |
25 add_executable("${PROJECT_SHORT_NAME}/proto2" ${SOURCES}) |
25 add_executable("${PROJECT_SHORT_NAME}-p2" ${SOURCES}) |
26 target_link_libraries("${PROJECT_SHORT_NAME}/proto2" ${LIBS}) |
26 target_link_libraries("${PROJECT_SHORT_NAME}-p2" ${LIBS}) |
27 install(TARGETS "${PROJECT_SHORT_NAME}/proto2" DESTINATION bin) |
27 install(TARGETS "${PROJECT_SHORT_NAME}-p2" DESTINATION bin) |
28 |
28 |
29 |
29 |