equal
deleted
inserted
replaced
13 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${LIBRARY_OUTPUT_PATH}) |
13 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_DEBUG ${LIBRARY_OUTPUT_PATH}) |
14 |
14 |
15 #resource paths |
15 #resource paths |
16 if(UNIX AND NOT APPLE) |
16 if(UNIX AND NOT APPLE) |
17 set(target_binary_install_dir "bin" CACHE PATH "install dest for binaries") |
17 set(target_binary_install_dir "bin" CACHE PATH "install dest for binaries") |
18 set(target_library_install_dir "lib" CACHE PATH "install dest for libs") |
18 set(target_library_install_dir "lib${LIB_SUFFIX}" CACHE PATH "install dest for libs") |
19 |
19 |
20 string(SUBSTRING "${DATA_INSTALL_DIR}" 0 1 sharepath_start) |
20 string(SUBSTRING "${DATA_INSTALL_DIR}" 0 1 sharepath_start) |
21 if(${sharepath_start} MATCHES "/") |
21 if(${sharepath_start} MATCHES "/") |
22 set(HEDGEWARS_DATADIR "${DATA_INSTALL_DIR}/") |
22 set(HEDGEWARS_DATADIR "${DATA_INSTALL_DIR}/") |
23 else() |
23 else() |