2023-10-19 13:55:26 +00:00
|
|
|
From 28220453d157c0825669145c94ab86e9603265fa Mon Sep 17 00:00:00 2001
|
|
|
|
From: Nick Cao <nickcao@nichi.co>
|
|
|
|
Date: Tue, 10 Oct 2023 10:14:40 -0400
|
|
|
|
Subject: [PATCH 09/11] qtbase: allow translations outside prefix
|
|
|
|
|
|
|
|
---
|
|
|
|
cmake/QtBuild.cmake | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
|
2023-10-19 13:55:26 +00:00
|
|
|
index 1dc576d27af..4348eb97c37 100644
|
2023-10-09 19:29:22 +00:00
|
|
|
--- 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()
|
2023-10-19 13:55:26 +00:00
|
|
|
--
|
|
|
|
2.42.0
|
|
|
|
|