summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-12-16 12:48:12 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-12-16 12:48:12 +0100
commitd564786057c62dce58ecf9ebd9726310fc3ab598 (patch)
tree62da93c6cf8576f46eb3604c621a6003721c58c0 /cmake/opentrack-boilerplate.cmake
parent8cb5e8effdd7981449c9f00891748afd1237c175 (diff)
cmake: fix mrproper -> install without regen translations enabled
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 9ca382e8..9ea00238 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -222,10 +222,10 @@ function(opentrack_boilerplate n)
set(t "${CMAKE_CURRENT_SOURCE_DIR}/lang/${i}.ts")
if(SDK_REGEN_TRANSLATIONS OR NOT EXISTS "${t}")
list(APPEND langs "${t}")
- get_property(tt GLOBAL PROPERTY opentrack-${i}-ts)
- set(tt ${tt} ${t})
- set_property(GLOBAL PROPERTY opentrack-${i}-ts ${tt})
endif()
+ get_property(tt GLOBAL PROPERTY "opentrack-ts-${i}")
+ list(APPEND tt "${t}")
+ set_property(GLOBAL PROPERTY "opentrack-ts-${i}" "${tt}")
endforeach()
get_property(modules GLOBAL PROPERTY opentrack-all-modules)