Warning, /frameworks/kcoreaddons/KF6CoreAddonsConfig.cmake.in is written in an unsupported language. File is not indexed.
0001 @PACKAGE_INIT@ 0002 0003 include(CMakeFindDependencyMacro) 0004 find_dependency(Qt6Core @REQUIRED_QT_VERSION@) 0005 0006 if(NOT @BUILD_SHARED_LIBS@) 0007 if(NOT WIN32) 0008 find_dependency(Threads) 0009 endif() 0010 0011 # Should be if(Inotify_FOUND) here, but for some reason this doesn't work when building statically 0012 # due to ECM's FindInotify.cmake misbehavior — see https://bugs.kde.org/show_bug.cgi?id=460656 for details. 0013 # This workaround stops CMake from failing on Linux by relying on the fact that Inotify is built into 0014 # kernel there, so no additional linking is required, resulting in an empty Inotify_LIBRARIES var. 0015 # The issue (most likely) persists on BSD, though, where Inotify is, in fact, provided by a library. 0016 if(@Inotify_LIBRARIES@) 0017 find_dependency(Inotify) 0018 endif() 0019 0020 if(@Procstat_FOUND@) 0021 find_dependency(Procstat) 0022 endif() 0023 0024 if(@HAVE_QTDBUS@) 0025 find_dependency(Qt6DBus @REQUIRED_QT_VERSION@) 0026 endif() 0027 0028 if (@UDev_FOUND@) 0029 find_dependency(UDev) 0030 endif() 0031 endif() 0032 0033 @PACKAGE_SETUP_AUTOMOC_VARIABLES@ 0034 0035 include("${CMAKE_CURRENT_LIST_DIR}/KF6CoreAddonsTargets.cmake") 0036 include("${CMAKE_CURRENT_LIST_DIR}/KF6CoreAddonsMacros.cmake") 0037 @PACKAGE_INCLUDE_QCHTARGETS@