From 844c3ecd416bc6757cfff28c53bf55d1ec6ac876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Sun, 8 Sep 2024 01:19:35 +0200 Subject: [PATCH] fixed #13083 - correct addons and cfgs install locations (#6764) (#6780) `FILESDIR_DEF` is an actual path which should be used for installation, while `FILESDIR` is an option with default value of `OFF` which leads to files installed to `${CMAKE_INSTALL_PREFIX}/OFF/{addons,cfgs,platforms}` (cherry picked from commit 5ad1d3909a2c8e633f573b862c790e06ac411aa3) Co-authored-by: Dmitry Marakasov --- cli/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt index 3859d35a13c..51e9aee6718 100644 --- a/cli/CMakeLists.txt +++ b/cli/CMakeLists.txt @@ -75,15 +75,15 @@ if (BUILD_CLI) COMPONENT applications) install(FILES ${addons} - DESTINATION ${FILESDIR}/addons + DESTINATION ${FILESDIR_DEF}/addons COMPONENT headers) install(FILES ${cfgs} - DESTINATION ${FILESDIR}/cfg + DESTINATION ${FILESDIR_DEF}/cfg COMPONENT headers) install(FILES ${platforms} - DESTINATION ${FILESDIR}/platforms + DESTINATION ${FILESDIR_DEF}/platforms COMPONENT headers) -endif() \ No newline at end of file +endif()