From 5ad1d3909a2c8e633f573b862c790e06ac411aa3 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 8 Sep 2024 01:00:11 +0300 Subject: [PATCH] fixed #13083 - correct addons and cfgs install locations (#6764) `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}` --- 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()