summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)