diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 78eec11..f0a84c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,14 +17,18 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) find_package( QT NAMES Qt6 Qt5 - COMPONENTS Core Widgets Quick WebEngine Multimedia + COMPONENTS Core Widgets Quick WebEngine REQUIRED) find_package( Qt${QT_VERSION_MAJOR} - COMPONENTS Core Widgets Quick WebEngine Multimedia + COMPONENTS Core Widgets Quick WebEngine REQUIRED) find_package(PkgConfig REQUIRED) +include(ECMQMLModules) +ecm_find_qmlmodule(QtMultimedia 5.8 REQUIRED) +ecm_find_qmlmodule(org.kde.kirigami 2.12 REQUIRED) + # Ahead-of-Time Compilation # # See https://doc.qt.io/qt-5/qtquick-deployment.html#ahead-of-time-compilation |