equal
deleted
inserted
replaced
8 include_directories("${CMAKE_CURRENT_BINARY_DIR}") |
8 include_directories("${CMAKE_CURRENT_BINARY_DIR}") |
9 |
9 |
10 # Libraries |
10 # Libraries |
11 |
11 |
12 # ClanLib 0.8 |
12 # ClanLib 0.8 |
13 find_package(ClanLib 0.8 REQUIRED COMPONENTS Core App Network) |
13 find_package(ClanLib 0.8 REQUIRED COMPONENTS Core App Signals Display GL Sound Network) |
14 include_directories(${ClanLib_INCLUDE_DIRS}) |
14 include_directories(${ClanLib_INCLUDE_DIRS}) |
15 set(LIBS ${LIBS} ${ClanLib_LIBRARIES}) |
15 set(LIBS ${LIBS} ${ClanLib_LIBRARIES}) |
|
16 |
|
17 message("DEBUG: ${LIBS}") |
16 |
18 |
17 # Assumes the project generates only one executable. If you need more, you'll need to alter |
19 # Assumes the project generates only one executable. If you need more, you'll need to alter |
18 # the script and replace ${PROJECT_SHORT_NAME} by executable name. |
20 # the script and replace ${PROJECT_SHORT_NAME} by executable name. |
19 add_executable("${PROJECT_SHORT_NAME}-p2" ${SOURCES}) |
21 add_executable("${PROJECT_SHORT_NAME}-p2" ${SOURCES}) |
20 target_link_libraries("${PROJECT_SHORT_NAME}-p2" ${LIBS}) |
22 target_link_libraries("${PROJECT_SHORT_NAME}-p2" ${LIBS}) |