From 1ba054cfc09a47fe838f487c042d3b279c3edc73 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 29 Jul 2017 06:35:34 +0200 Subject: cmake: fix Linux build Issue: #661 --- cmake/opentrack-boilerplate.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}") -- cgit v1.2.3