2019-06-18 01:30:25 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2024-04-11 21:58:38 +08:00
|
|
|
index 96eff0a..c31fd49 100644
|
2019-06-18 01:30:25 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2024-04-11 21:58:38 +08:00
|
|
|
@@ -111,7 +111,11 @@ SET(CMAKE_INSTALL_DIR "${LIB_INSTALL_DIR}/cmake" CACHE STRING
|
2019-06-18 01:30:25 +08:00
|
|
|
|
|
|
|
IF(WIN32)
|
|
|
|
|
|
|
|
- SET(RUNDIR "c:/witty") # Does not apply to win32
|
|
|
|
+ if (NOT INSTALL_CONFIG_FILE_PATH)
|
|
|
|
+ SET(RUNDIR "c:/witty") # Does not apply to win32
|
|
|
|
+ else()
|
|
|
|
+ SET(RUNDIR ${INSTALL_CONFIG_FILE_PATH}) # Does not apply to win32
|
|
|
|
+ endif()
|
|
|
|
|
|
|
|
IF(NOT DEFINED CONFIGDIR)
|
|
|
|
SET(CONFIGDIR ${RUNDIR} CACHE STRING "Path for the configuration files")
|