c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
22 lines
1,022 B
Diff
22 lines
1,022 B
Diff
From 79da6bb6ff075e8cf972be8a462630f1ec86bf0a Mon Sep 17 00:00:00 2001
|
|
From: Nick Cao <nickcao@nichi.co>
|
|
Date: Tue, 10 Oct 2023 10:14:40 -0400
|
|
Subject: [PATCH 08/11] qtbase: allow translations outside prefix
|
|
|
|
---
|
|
cmake/QtBuild.cmake | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/cmake/QtBuildPathsHelpers.cmake b/cmake/QtBuildPathsHelpers.cmake
|
|
index edc43f2f14..78fa219515 100644
|
|
--- a/cmake/QtBuildPathsHelpers.cmake
|
|
+++ b/cmake/QtBuildPathsHelpers.cmake
|
|
@@ -134,7 +134,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()
|