2021-09-01 20:29:13 +02:00
|
|
|
diff --git a/KF5CoreAddonsConfig.cmake.in b/KF5CoreAddonsConfig.cmake.in
|
2022-11-30 20:03:25 +01:00
|
|
|
index 711b8d41..2523da18 100644
|
2021-09-01 20:29:13 +02:00
|
|
|
--- a/KF5CoreAddonsConfig.cmake.in
|
|
|
|
+++ b/KF5CoreAddonsConfig.cmake.in
|
2022-11-30 20:03:25 +01:00
|
|
|
@@ -3,6 +3,24 @@
|
|
|
|
include(CMakeFindDependencyMacro)
|
|
|
|
find_dependency(Qt@QT_MAJOR_VERSION@Core @REQUIRED_QT_VERSION@)
|
|
|
|
|
2021-09-01 20:29:13 +02:00
|
|
|
+if(NOT @BUILD_SHARED_LIBS@)
|
|
|
|
+ if(NOT WIN32)
|
|
|
|
+ find_dependency(Threads)
|
|
|
|
+ endif()
|
|
|
|
+
|
|
|
|
+ if(@Inotify_FOUND@)
|
2022-11-30 20:03:25 +01:00
|
|
|
+ find_package(Inotify)
|
2021-09-01 20:29:13 +02:00
|
|
|
+ endif()
|
|
|
|
+
|
|
|
|
+ if(@Procstat_FOUND@)
|
|
|
|
+ find_dependency(Procstat)
|
|
|
|
+ endif()
|
2022-11-30 20:03:25 +01:00
|
|
|
+
|
|
|
|
+ if(@HAVE_QTDBUS@)
|
|
|
|
+ find_dependency(Qt@QT_MAJOR_VERSION@DBus @REQUIRED_QT_VERSION@)
|
|
|
|
+ endif()
|
2021-09-01 20:29:13 +02:00
|
|
|
+endif()
|
2022-11-30 20:03:25 +01:00
|
|
|
+
|
|
|
|
@PACKAGE_SETUP_AUTOMOC_VARIABLES@
|
|
|
|
|
|
|
|
if(CMAKE_CROSSCOMPILING AND KF5_HOST_TOOLING)
|
|
|
|
@@ -23,6 +41,7 @@ else()
|
|
|
|
set_target_properties(KF5::desktoptojson PROPERTIES IMPORTED_LOCATION ${DESKTOPTOJSON_EXECUTABLE})
|
|
|
|
endif()
|
|
|
|
endif()
|
2021-09-01 20:29:13 +02:00
|
|
|
+
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/KF5CoreAddonsTargets.cmake")
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/KF5CoreAddonsMacros.cmake")
|
|
|
|
@PACKAGE_INCLUDE_QCHTARGETS@
|