| 1 | Author: Reiner Herrmann <[email protected]> |
| 2 | Description: install data files into configurable data directory |
| 3 | Forwarded: https://github.com/cxong/cdogs-sdl/pull/835 |
| 4 | |
| 5 | --- a/CMakeLists.txt |
| 6 | +++ b/CMakeLists.txt |
| 7 | @@ -224,7 +224,7 @@ |
| 8 | ${CMAKE_SOURCE_DIR}/graphics |
| 9 | ${CMAKE_SOURCE_DIR}/music |
| 10 | ${CMAKE_SOURCE_DIR}/sounds |
| 11 | - DESTINATION ${DATA_INSTALL_DIR} |
| 12 | + DESTINATION ${CDOGS_DATA_DIR} |
| 13 | PATTERN "*.blend" EXCLUDE) |
| 14 | |
| 15 | if(NOT DEFINED CDOGS_DOC_DIR) |