aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/wt/0005-XML_file_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/wt/0005-XML_file_path.patch')
-rw-r--r--vcpkg/ports/wt/0005-XML_file_path.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/wt/0005-XML_file_path.patch b/vcpkg/ports/wt/0005-XML_file_path.patch
new file mode 100644
index 0000000..52a6703
--- /dev/null
+++ b/vcpkg/ports/wt/0005-XML_file_path.patch
@@ -0,0 +1,17 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 96eff0a..c31fd49 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -111,7 +111,11 @@ SET(CMAKE_INSTALL_DIR "${LIB_INSTALL_DIR}/cmake" CACHE STRING
+
+ 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")