summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-02-24 16:28:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-02-24 16:28:42 +0100
commita024a784e2e2eff4afebc8e996f1c81abcd55ac0 (patch)
tree1c2af03d48f28b515de68afc26c2054671fa596b /cmake/opentrack-boilerplate.cmake
parente3247cedd65a60d3dc65439d8054c31f772c30bd (diff)
cmake/i18n: fix dependencies
Was broken on Unix make.
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 1bd79a97..eaab2f99 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -227,11 +227,12 @@ function(opentrack_boilerplate n)
set_property(GLOBAL PROPERTY "opentrack-ts-${i}" "${tt}")
endforeach()
+ get_property(modules GLOBAL PROPERTY opentrack-all-modules)
list(APPEND modules "${n}")
set_property(GLOBAL PROPERTY opentrack-all-modules "${modules}")
foreach(i ${langs})
- add_custom_command(OUTPUT ${i}
+ add_custom_command(OUTPUT "${i}"
COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_CURRENT_SOURCE_DIR}/lang"
COMMAND "${Qt5_DIR}/../../../bin/lupdate" -silent -recursive -no-obsolete -locations relative . -ts "${i}"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"