Warning, /frameworks/kdelibs4support/KF5KDE4SupportConfig.cmake.in is written in an unsupported language. File is not indexed.
0001 @PACKAGE_INIT@ 0002 0003 include(CMakeFindDependencyMacro) 0004 find_dependency(KF5KDELibs4Support "@KF_VERSION@") 0005 0006 if(NOT TARGET KF5::KDE4Support) 0007 add_library(KF5::KDE4Support @KDELibs4Support_LIB_TYPE@ IMPORTED) 0008 0009 # Because CMake won't let us alias an imported target, we have to 0010 # create a new imported target and copy the properties we care about 0011 set(_copy_props 0012 INTERFACE_INCLUDE_DIRECTORIES 0013 INTERFACE_LINK_LIBRARIES 0014 IMPORTED_CONFIGURATIONS 0015 ) 0016 get_target_property(_configs KF5::KDELibs4Support IMPORTED_CONFIGURATIONS) 0017 foreach(_config ${_configs}) 0018 set(_copy_props 0019 ${_copy_props} 0020 IMPORTED_LINK_DEPENDENT_LIBRARIES_${_config} 0021 IMPORTED_LOCATION_${_config} 0022 IMPORTED_SONAME_${_config} 0023 ) 0024 endforeach() 0025 foreach(_prop ${_copy_props}) 0026 get_target_property(_temp_prop KF5::KDELibs4Support "${_prop}") 0027 set_target_properties(KF5::KDE4Support PROPERTIES "${_prop}" "${_temp_prop}") 0028 endforeach() 0029 0030 message(AUTHOR_WARNING 0031 " The KF5KDE4Support package is deprecated: use 0032 find_package(KF5KDELibs4Support) or 0033 find_package(KF5 COMPONENTS KDELibs4Support) instead.") 0034 endif()