fix: relax KF6 CMake link targets

This commit is contained in:
2026-05-07 20:55:36 +01:00
parent e13b14cdeb
commit 6949e3e869
3 changed files with 3 additions and 3 deletions
@@ -57,7 +57,7 @@ add_subdirectory(src)
# Enable unit testing
if (BUILD_TESTING)
############################# add_subdirectory(autotests)
############################## add_subdirectory(autotests)
add_subdirectory(tests)
endif ()
@@ -32,7 +32,7 @@ find_package(KF6GuiAddons ${KF_DEP_VERSION} REQUIRED)
if(NOT WIN32 AND NOT APPLE AND NOT ANDROID AND NOT REDOX)
#################################################### find_package(KF6GlobalAccel ${KF_DEP_VERSION} REQUIRED)
##################################################### find_package(KF6GlobalAccel ${KF_DEP_VERSION} REQUIRED)
set(HAVE_KGLOBALACCEL TRUE)
else()
set(HAVE_KGLOBALACCEL FALSE)
@@ -38,7 +38,7 @@ set_package_properties(Qt6Qml PROPERTIES
)
if (TARGET Qt6::Qml)
############################### include(ECMQmlModule)
################################ include(ECMQmlModule)
endif()
set(EXCLUDE_DEPRECATED_BEFORE_AND_AT 0 CACHE STRING "Control the range of deprecated API excluded from the build [default=0].")