Author: Reiner Herrmann Description: install data files into configurable data directory Forwarded: https://github.com/cxong/cdogs-sdl/pull/835 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -224,7 +224,7 @@ ${CMAKE_SOURCE_DIR}/graphics ${CMAKE_SOURCE_DIR}/music ${CMAKE_SOURCE_DIR}/sounds - DESTINATION ${DATA_INSTALL_DIR} + DESTINATION ${CDOGS_DATA_DIR} PATTERN "*.blend" EXCLUDE) if(NOT DEFINED CDOGS_DOC_DIR)