summary refs log tree commit diff
path: root/cmake
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-06-27 03:06:16 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-06-27 03:08:16 +0200
commitd177405913768a256c43433b56353d639c4b3281 (patch)
tree443f5e373a35169d2765656186cbb104da42680e /cmake
parentMake connections across threads queued in any case (diff)
downloadnheko-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.cmake2
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)