Set compression rate for rcc targets

This follows our current setting in src.pro.
This commit is contained in:
Chocobo1 2020-09-18 14:31:43 +08:00
parent 6880e03145
commit 0539c816ae
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

@ -45,6 +45,7 @@ if (DBUS)
endif()
# automatically call Qt moc, rcc and uic as needed for all targets by default
set(CMAKE_AUTORCC_OPTIONS --compress 9 --threshold 5)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)