summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-29 06:35:34 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-29 06:35:34 +0200
commit1ba054cfc09a47fe838f487c042d3b279c3edc73 (patch)
tree723fcbdcf2377a8ad27f6ed26d4c0dcdc8ba427b /cmake/opentrack-boilerplate.cmake
parentabe860c0265a8a98e7c3d2fa05f769cf779b52bf (diff)
cmake: fix Linux build
Issue: #661
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index c6392237..73b157a2 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -205,7 +205,9 @@ function(otr_module n_)
endif()
otr_compat(${n})
- otr_i18n_for_target_directory(${n_})
+ if(NOT arg_NO-QT)
+ otr_i18n_for_target_directory(${n_})
+ endif()
set_property(GLOBAL APPEND PROPERTY opentrack-all-modules "${n}")
set_property(GLOBAL APPEND PROPERTY opentrack-all-source-dirs "${CMAKE_CURRENT_SOURCE_DIR}")