aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorJan Van Buggenhout <chipzz@chipzz.be>2021-04-17 15:52:32 +0200
committerGitHub <noreply@github.com>2021-04-17 15:52:32 +0200
commitd8940f35a954a66f9fa0dc0595fab8532edce29f (patch)
tree128350e546465c65ca47387f072f9b366bcfd43e /cmake
parent1456be7eeea9c79ae8b8fc1f08b51e84337d6c40 (diff)
CONF_DIR (#26360)
Diffstat (limited to 'cmake')
-rw-r--r--cmake/platform/unix/settings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/platform/unix/settings.cmake b/cmake/platform/unix/settings.cmake
index e86a14944bc..b6bef24ae96 100644
--- a/cmake/platform/unix/settings.cmake
+++ b/cmake/platform/unix/settings.cmake
@@ -1,6 +1,6 @@
# set default configuration directory
if(NOT CONF_DIR)
- set(CONF_DIR ${CMAKE_INSTALL_PREFIX}/etc)
+ set(CONF_DIR ${CMAKE_INSTALL_PREFIX}/etc CACHE PATH "Configuration directory")
message(STATUS "UNIX: Using default configuration directory")
endif()