From df530f0332c9b60f407dc636533683619afa9483 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Tue, 13 Feb 2024 20:22:55 +0100 Subject: [PATCH] Install data to CDOGS_DATA_DIR utils.c is searching data files in CDOGS_DATA_DIR, so make sure that the files are also installed there (similar to CDOGS_DOC_DIR). --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 677137b89..622ecd402 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -221,7 +221,7 @@ install(DIRECTORY ${CMAKE_SOURCE_DIR}/graphics ${CMAKE_SOURCE_DIR}/music ${CMAKE_SOURCE_DIR}/sounds - DESTINATION ${DATA_INSTALL_DIR}) + DESTINATION ${CDOGS_DATA_DIR}) if(NOT DEFINED CDOGS_DOC_DIR) set(CDOGS_DOC_DIR "${DATA_INSTALL_DIR}/doc")