summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-03-14 09:21:01 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-03-14 09:21:01 +0100
commit8da1bc08b2ec7b1d3d8ef18a9f459b2ac4c0c2e4 (patch)
tree17af4fd0288c068387e406c4b8f44c35c735215f /cmake/opentrack-boilerplate.cmake
parentd6342f01959631341cb883048992f80ccda7694e (diff)
cmake/i18n: fix GNU make
Issue: #726 Reported by: Artem Sobolev @ljgdasfhk
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake7
1 files changed, 1 insertions, 6 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 02826941..e4391257 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -207,14 +207,9 @@ function(otr_module n_)
otr_compat(${n})
if(NOT arg_NO-QT)
otr_i18n_for_target_directory(${n_})
-
- foreach(k ${opentrack_all-translations})
- set(i18n-target "i18n-lang-${k}-module-${n_}")
- add_dependencies("${n}" "${i18n-target}")
- endforeach()
endif()
- set_property(GLOBAL APPEND PROPERTY opentrack-all-modules "${n}")
+ set_property(GLOBAL APPEND PROPERTY opentrack-all-modules "${n_}")
set_property(GLOBAL APPEND PROPERTY opentrack-all-source-dirs "${CMAKE_CURRENT_SOURCE_DIR}")
endfunction()