diff options
-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}") |