mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2026-01-02 00:43:42 +00:00
As it has been found in the releated issue, compile error occurs because of missing evaluation and appears to be caused by Qt6QmlTargets.cmake. Instead of trying to hack generated files, lets just drop qml definitions because we don't really use them explicitly
33 lines
1.2 KiB
CMake
33 lines
1.2 KiB
CMake
# required by translation package
|
|
find_package(Gettext REQUIRED)
|
|
|
|
# main qt libraries
|
|
find_package(Qt6 6.6.0 REQUIRED COMPONENTS Core Concurrent DBus Network Qml Test Widgets)
|
|
add_definitions(
|
|
${Qt6Core_DEFINITIONS} ${Qt6DBus_DEFINITIONS} ${Qt6Network_DEFINITIONS}
|
|
${Qt6Widgets_DEFINITIONS}
|
|
)
|
|
set(Qt_INCLUDE
|
|
${Qt6Core_INCLUDE_DIRS} ${Qt6Concurrent_INCLUDE_DIRS} ${Qt6DBus_INCLUDE_DIRS} ${Qt6Network_INCLUDE_DIRS}
|
|
${Qt6Qml_INCLUDE_DIRS} ${Qt6Widgets_INCLUDE_DIRS}
|
|
)
|
|
set(Qt_LIBRARIES
|
|
${Qt6Core_LIBRARIES} ${Qt6Concurrent_LIBRARIES} ${Qt6DBus_LIBRARIES} ${Qt6Network_LIBRARIES}
|
|
${Qt6Qml_LIBRARIES} ${Qt6Widgets_LIBRARIES}
|
|
)
|
|
|
|
# kf6 libraries
|
|
find_package(ECM 0.0.11 REQUIRED NO_MODULE)
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH})
|
|
find_package(KF6 REQUIRED COMPONENTS I18n Notifications Service WindowSystem)
|
|
find_package(KSysGuard REQUIRED)
|
|
find_package(LibTaskManager REQUIRED)
|
|
find_package(Plasma REQUIRED)
|
|
|
|
include(KDEInstallDirs)
|
|
include(KDECMakeSettings)
|
|
include(KDECompilerSettings)
|
|
|
|
set(Kf6_INCLUDE ${KDE_INSTALL_FULL_INCLUDEDIR_KF})
|
|
set(Kf6_LIBRARIES KF6::CoreAddons KF6::I18n KF6::Notifications KF6::WindowSystem KSysGuard::Sensors KSysGuard::SensorFaces KSysGuard::SystemStats PW::LibTaskManager)
|