diff --git a/local/recipes/kde/kf6-kcrash/source/CMakeLists.txt b/local/recipes/kde/kf6-kcrash/source/CMakeLists.txt index 75172b7157..7f64452550 100644 --- a/local/recipes/kde/kf6-kcrash/source/CMakeLists.txt +++ b/local/recipes/kde/kf6-kcrash/source/CMakeLists.txt @@ -34,7 +34,7 @@ if(WITH_X11) find_package(X11 REQUIRED) set(HAVE_X11 TRUE) endif() -find_package(Qt6Test ${REQUIRED_QT_VERSION} CONFIG REQUIRED) +find_package(Qt6Test ${REQUIRED_QT_VERSION} CONFIG) include(ECMGenerateExportHeader) include(ECMSetupVersion) include(ECMGenerateHeaders) diff --git a/local/recipes/kde/kf6-kcrash/source/src/kcrash.cpp b/local/recipes/kde/kf6-kcrash/source/src/kcrash.cpp index bcd69791f7..85a9f70c6b 100644 --- a/local/recipes/kde/kf6-kcrash/source/src/kcrash.cpp +++ b/local/recipes/kde/kf6-kcrash/source/src/kcrash.cpp @@ -24,6 +24,7 @@ #include #ifndef Q_OS_WIN #include +#include // setgroups() — on glibc it comes via +_GNU_SOURCE; relibc declares it in #include #include #else diff --git a/local/recipes/kde/plasma-desktop/source/CMakeLists.txt b/local/recipes/kde/plasma-desktop/source/CMakeLists.txt index 23598b0ee6..fa3b35829d 100644 --- a/local/recipes/kde/plasma-desktop/source/CMakeLists.txt +++ b/local/recipes/kde/plasma-desktop/source/CMakeLists.txt @@ -96,7 +96,7 @@ find_package(PlasmaActivities ${PROJECT_DEP_VERSION} REQUIRED) find_package(PlasmaActivitiesStats ${PROJECT_DEP_VERSION} REQUIRED) if(BUILD_TESTING) - find_package(Qt6Test ${QT_MIN_VERSION} CONFIG REQUIRED) + find_package(Qt6Test ${QT_MIN_VERSION} CONFIG) include(ECMAddTests) endif()