diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-06-27 03:06:16 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-06-27 03:08:16 +0200 |
commit | d177405913768a256c43433b56353d639c4b3281 (patch) | |
tree | 443f5e373a35169d2765656186cbb104da42680e /cmake | |
parent | Make connections across threads queued in any case (diff) | |
download | nheko-d177405913768a256c43433b56353d639c4b3281.tar.xz |
Don't compile qml by default
While it does improve performance a bit, it is simply bad for most distributions, since they don't know and probably don't want to recompile Nheko. So default it to off. Anyone who wants it can still toggle it on and it is almost no maintenance cost.
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) |