# - Finds the lxqt package @PACKAGE_INIT@ if (CMAKE_VERSION VERSION_LESS 3.0.2) message(FATAL_ERROR \"@PROJECT_NAME@ requires at least CMake version 3.0.2\") endif() include(CMakeFindDependencyMacro) find_dependency(Qt5Widgets @QT_MINIMUM_VERSION@) find_dependency(Qt5DBus @QT_MINIMUM_VERSION@) find_dependency(Qt5X11Extras @QT_MINIMUM_VERSION@) find_dependency(Qt5LinguistTools @QT_MINIMUM_VERSION@) find_dependency(Qt5Xdg @QTXDG_MINIMUM_VERSION@) find_dependency(KF5WindowSystem) find_dependency(lxqt-build-tools @LXQTBT_MINIMUM_VERSION@) include(LXQtConfigVars) # - Set version informations set(LXQT_MAJOR_VERSION "@LXQT_MAJOR_VERSION@") set(LXQT_MINOR_VERSION "@LXQT_MINOR_VERSION@") set(LXQT_PATCH_VERSION "@LXQT_PATCH_VERSION@") set(LXQT_VERSION "@LXQT_VERSION@") add_definitions("-DLXQT_MAJOR_VERSION=\"${LXQT_MAJOR_VERSION}\"") add_definitions("-DLXQT_MINOR_VERSION=\"${LXQT_MINOR_VERSION}\"") add_definitions("-DLXQT_PATCH_VERSION=\"${LXQT_PATCH_VERSION}\"") add_definitions("-DLXQT_VERSION=\"${LXQT_VERSION}\"") if (NOT TARGET @LXQT_LIBRARY_NAME@) if (POLICY CMP0024) cmake_policy(SET CMP0024 NEW) endif() include("${CMAKE_CURRENT_LIST_DIR}/lxqt-targets.cmake") endif()