summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-10-13 13:22:47 +0200
committerKai Koehne <kai.koehne@qt.io>2020-10-13 14:13:18 +0200
commit9ab62cc2ff0aa3c6f6fda8baa008fcc597dd8829 (patch)
tree6e1a661c71ebfbc9ee6d53e86496b69265ab3e71
parent1a7f9df19ed15c3904c59c05e195c954f53ebec5 (diff)
Fix top-level CMake build
Fixes: QTBUG-87290 Change-Id: I173956a410d5971b86924fe1302a6973ebb9ae3c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--translations/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/translations/CMakeLists.txt b/translations/CMakeLists.txt
index d2de0e5..5a76213 100644
--- a/translations/CMakeLists.txt
+++ b/translations/CMakeLists.txt
@@ -2,7 +2,7 @@
add_custom_target(ts-all)
-set(repo_root_directory "${CMAKE_SOURCE_DIR}/..")
+set(repo_root_directory "${CMAKE_CURRENT_SOURCE_DIR}/../..")
set(en_ts_file_dir "${CMAKE_CURRENT_BINARY_DIR}/en_ts")
function(add_ts_target target input_file output_file)