early-access version 2853
This commit is contained in:
17
externals/vcpkg/ports/wt/0005-XML_file_path.patch
vendored
Executable file
17
externals/vcpkg/ports/wt/0005-XML_file_path.patch
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index ca19b30..4765632 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -197,7 +197,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")
|
||||
Reference in New Issue
Block a user