diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Translations.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Translations.cmake b/cmake/Translations.cmake index 16120219..887697a8 100644 --- a/cmake/Translations.cmake +++ b/cmake/Translations.cmake @@ -21,7 +21,7 @@ if(NOT EXISTS ${_qrc}) endif() qt5_add_resources(LANG_QRC ${_qrc}) -if(Qt5QuickCompiler_FOUND) +if(Qt5QuickCompiler_FOUND AND COMPILE_QML) qtquick_compiler_add_resources(QRC resources/res.qrc) else() qt5_add_resources(QRC resources/res.qrc) |