Warning, /libraries/kproperty/src/KPropertyWidgetsConfig.cmake.in is written in an unsupported language. File is not indexed.

0001 # KPropertyWidgetsConfig.cmake provides information about the installed KPropertyWidgets library.
0002 # It can be used directly from CMake via find_package(KPropertyWidgets NO_MODULE)
0003 #
0004 # Any changes in this ".cmake" file will be overwritten by CMake, the source is the ".cmake.in" file.
0005 #
0006 # The following CMake variables are provided:
0007 #   KPropertyWidgets_VERSION_MAJOR - the major version number of KPropertyWidgets
0008 #   KPropertyWidgets_VERSION_MINOR - the minor version number of KPropertyWidgets
0009 #   KPropertyWidgets_VERSION_PATCH - the patch version number of KPropertyWidgets
0010 #   KPropertyWidgets_INCLUDE_DIRS  - the include directories to use
0011 #
0012 # Additionally, the following imported library targets are created, which may be used directly
0013 # with target_link_libraries():
0014 #   KPropertyWidgets - the KPropertyWidgets library
0015 
0016 @PACKAGE_INIT@
0017 
0018 include(CMakeFindDependencyMacro)
0019 include(FeatureSummary)
0020 
0021 find_dependency(Qt5Widgets @REQUIRED_QT_VERSION@)
0022 find_dependency(KPropertyCore @PROJECT_VERSION@ EXACT)
0023 
0024 include("${CMAKE_CURRENT_LIST_DIR}/KPropertyWidgetsTargets.cmake")
0025 include("${CMAKE_CURRENT_LIST_DIR}/KPropertyWidgetsQCHTargets.cmake")
0026 
0027 # Features
0028 set(KPROPERTY_KF @KPROPERTY_KF@)
0029 
0030 # Match COMPONENTS to features (KPROPERTY_ prefixes)
0031 foreach (_COMP ${KPropertyWidgets_FIND_COMPONENTS})
0032     if(NOT DEFINED KPROPERTY_${_COMP} OR NOT ${KPROPERTY_${_COMP}})
0033         message(FATAL_ERROR "KPropertyWidgets does not contain required component ${_COMP}. Update KPropertyWidgets or remove this requirement.")
0034     endif()
0035 endforeach()
0036 
0037 set_package_properties(KPropertyWidgets PROPERTIES
0038    DESCRIPTION "A property editing framework with editor widget"
0039    URL "https://community.kde.org/KProperty")