13 lines
683 B
Diff
13 lines
683 B
Diff
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
|
|
index b45ec1d208..05f69c131b 100644
|
|
--- a/cmake/QtBuild.cmake
|
|
+++ b/cmake/QtBuild.cmake
|
|
@@ -30,7 +30,7 @@ function(qt_configure_process_path name default docstring)
|
|
set(rel_path ".")
|
|
elseif(rel_path MATCHES "^\.\./")
|
|
# INSTALL_SYSCONFDIR is allowed to be outside the prefix.
|
|
- if(NOT name STREQUAL "INSTALL_SYSCONFDIR")
|
|
+ if(NOT (name STREQUAL "INSTALL_SYSCONFDIR" OR name STREQUAL "INSTALL_TRANSLATIONSDIR"))
|
|
message(FATAL_ERROR
|
|
"Path component '${name}' is outside computed install prefix: ${rel_path} ")
|
|
return()
|