mirror of https://gitee.com/openkylin/libqapt.git
21 lines
788 B
CMake
21 lines
788 B
CMake
# QAptConfig.cmake provides information about the installed QApt library.
|
|
# It can be used directly from CMake via find_package(QApt NO_MODULE)
|
|
#
|
|
# The following CMake variables are provided:
|
|
# QAPT_VERSION_MAJOR - the major version number of QApt
|
|
# QAPT_VERSION_MINOR - the minor version number of QApt
|
|
# QAPT_VERSION_PATCH - the patch version number of QApt
|
|
# QAPT_INCLUDE_DIRS - the include directories to use
|
|
#
|
|
# Additionally, the following imported library targets are created, which may be used directly
|
|
# with target_link_libraries():
|
|
# QApt - the QApt library
|
|
|
|
@PACKAGE_INIT@
|
|
|
|
#set(QAPT_DBUS_INTERFACES_DIR "${PACKAGE_PREFIX_DIR}/@DBUS_INTERFACES_INSTALL_DIR@")
|
|
|
|
find_dependency(Qt5Widgets @REQUIRED_QT_VERSION@)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/QAptTargets.cmake")
|