Add cmake switch to indicate that a Qt5 build is using KDE's Qt 5.15 fork

There's no easy way to detect this automatically, so a manual switch is required
This commit is contained in:
Nyall Dawson 2021-11-03 18:00:50 +10:00
parent 6d3cec6dcf
commit 1495cd5785
2 changed files with 3 additions and 0 deletions

View File

@ -425,6 +425,7 @@ if(WITH_CORE)
else()
set(QT_MIN_VERSION 5.12.0)
set(QT_VERSION_BASE "Qt5")
set(WITH_QT5_KDE_FORK FALSE CACHE BOOL "Using KDE's Qt 5.15 fork")
endif()
# Use Qt5SerialPort optionally for GPS

View File

@ -104,5 +104,7 @@
#cmakedefine ENABLE_TESTS
#cmakedefine WITH_QT5_KDE_FORK
#endif