cmake_modules/paths.cmake
branchios-revival
changeset 11388 1ae8d4582e1e
parent 11329 ac6715709812
child 14253 084af6d2685f
equal deleted inserted replaced
11387:7038ecc1f7fa 11388:1ae8d4582e1e
    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()