summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-12-08 06:23:21 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-12-08 06:23:21 +0100
commit0c2135d90b326d07683c616dffe6ad1e94aaacbf (patch)
tree90a6a8ba7c1ce77ce126d3e9221e74159d33de93 /cmake/opentrack-boilerplate.cmake
parent17ce3e1e69de7bd3fe06008202ae9fa2f8ff272a (diff)
cmake: fix translations always updating
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 82c277c5..9393eae4 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -220,7 +220,7 @@ function(opentrack_boilerplate n)
set(langs "")
foreach(i ${opentrack-all-translations})
set(t "${CMAKE_CURRENT_SOURCE_DIR}/lang/${i}.ts")
- if(SDK_REGEN_TRANSLATIONS OR NOT EXISTS t)
+ if(SDK_REGEN_TRANSLATIONS OR NOT EXISTS "${t}")
list(APPEND langs "${t}")
get_property(tt GLOBAL PROPERTY opentrack-${i}-ts)
set(tt ${tt} ${t})