diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-29 06:35:34 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-29 06:35:34 +0200 |
commit | 1ba054cfc09a47fe838f487c042d3b279c3edc73 (patch) | |
tree | 723fcbdcf2377a8ad27f6ed26d4c0dcdc8ba427b /cmake | |
parent | abe860c0265a8a98e7c3d2fa05f769cf779b52bf (diff) |
cmake: fix Linux build
Issue: #661
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/opentrack-boilerplate.cmake | 4 |
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}") |