QTfrontend/CMakeLists.txt
changeset 8323 ab0b618bdf13
parent 8317 ec9f94ab2737
child 8330 aaefa587e277
child 8333 416cb5e5a405
equal deleted inserted replaced
8322:50369fa5053b 8323:ab0b618bdf13
    39 if(UNIX)
    39 if(UNIX)
    40     # HACK: in freebsd cannot find iconv.h included via SDL.h
    40     # HACK: in freebsd cannot find iconv.h included via SDL.h
    41     include_directories("/usr/local/include")
    41     include_directories("/usr/local/include")
    42 endif(UNIX)
    42 endif(UNIX)
    43 
    43 
    44 #directory containing hw executables
       
    45 set(HEDGEWARS_BINDIR ${CMAKE_INSTALL_PREFIX}/${target_binary_install_dir})
       
    46 #directory for resources, relative to the one above on certain platforms/configurations
    44 #directory for resources, relative to the one above on certain platforms/configurations
    47 if(DEFINED DATA_INSTALL_DIR OR WIN32 OR APPLE)
    45 if(DEFINED DATA_INSTALL_DIR OR WIN32 OR APPLE)
    48     set(HEDGEWARS_DATADIR ${SHAREPATH})
    46     set(HEDGEWARS_DATADIR ${SHAREPATH})
    49 else()
    47 else()
    50     set(HEDGEWARS_DATADIR ${CMAKE_INSTALL_PREFIX}/${SHAREPATH}/)
    48     set(HEDGEWARS_DATADIR ${CMAKE_INSTALL_PREFIX}/${SHAREPATH}/)