We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38956a5 commit 67822caCopy full SHA for 67822ca
CMakeLists.txt
@@ -19,6 +19,10 @@ include(AsteroidCMakeSettings)
19
20
set(ASTEROID_MODULES_INSTALL_DIR ${CMAKE_INSTALL_DATADIR}/asteroidapp/cmake)
21
22
+# TODO: wasn't there a better way especially with 5.15/6 like find_package(Qt COMPONENTS Core REQUIRED)
23
+if (NOT DEFINED QT_MAJOR_VERSION)
24
+ set(QT_MAJOR_VERSION 5)
25
+endif()
26
find_package(Qt${QT_MAJOR_VERSION} ${QT_MIN_VERSION} COMPONENTS DBus Qml Quick Svg REQUIRED)
27
if (WITH_ASTEROIDAPP)
28
find_package(Mlite${QT_MAJOR_VERSION} MODULE REQUIRED)
0 commit comments