mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 21:20:09 +08:00
23 lines
1.1 KiB
Diff
23 lines
1.1 KiB
Diff
|
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
|
||
|
index bd186c28b..2c1994d2e 100644
|
||
|
--- a/cmake/QtBuild.cmake
|
||
|
+++ b/cmake/QtBuild.cmake
|
||
|
@@ -28,11 +28,13 @@ function(qt_configure_process_path name default docstring)
|
||
|
elseif(rel_path MATCHES "^\.\./")
|
||
|
# INSTALL_SYSCONFDIR is allowed to be outside the prefix.
|
||
|
if(NOT name STREQUAL "INSTALL_SYSCONFDIR")
|
||
|
- message(FATAL_ERROR
|
||
|
- "Path component '${name}' is outside computed install prefix: ${rel_path} ")
|
||
|
- return()
|
||
|
+ #message(FATAL_ERROR
|
||
|
+ # "Path component '${name}' is outside computed install prefix: ${rel_path} ")
|
||
|
+ #return()
|
||
|
+ set("${name}" "${rel_path}" CACHE STRING "${docstring}" FORCE)
|
||
|
+ else()
|
||
|
+ set("${name}" "${${name}}" CACHE STRING "${docstring}" FORCE)
|
||
|
endif()
|
||
|
- set("${name}" "${${name}}" CACHE STRING "${docstring}" FORCE)
|
||
|
else()
|
||
|
set("${name}" "${rel_path}" CACHE STRING "${docstring}" FORCE)
|
||
|
endif()
|