You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.9 KiB
44 lines
1.9 KiB
9 years ago
|
# - Find the lxqt-globalkeys include and library dirs and define a some macros
|
||
|
#
|
||
|
# The module defines the following variables
|
||
|
# LXQT_GLOBALKEYS_FOUND - Set to TRUE if all of the above has been found
|
||
|
#
|
||
|
# LXQT_GLOBALKEYS_INCLUDE_DIR - The lxqt-globalkeys include directory
|
||
|
#
|
||
|
# LXQT_GLOBALKEYS_INCLUDE_DIRS - The lxqt-globalkeys include directory
|
||
|
#
|
||
|
# LXQT_GLOBALKEYS_LIBRARY_DIRS - The lxqt-globalkeys include directory
|
||
|
#
|
||
|
# LXQT_GLOBALKEYS_LIBRARIES - The libraries needed to use lxqt-globalkeys
|
||
|
#
|
||
|
# LXQT_GLOBALKEYS_USE_FILE - The variable LXQT_GLOBALKEYS_USE_FILE is set which is the path
|
||
|
# to a CMake file that can be included to compile lxqt-globalkeys
|
||
|
# applications and libraries. It sets up the compilation
|
||
|
# environment for include directories and populates a
|
||
|
# LXQT_GLOBALKEYS_LIBRARIES variable.
|
||
|
#
|
||
|
# LXQT_GLOBALKEYS_QT_LIBRARIES - The Qt libraries needed by lxqt-globalkeys
|
||
|
#
|
||
|
# Typical usage:
|
||
|
# find_package(lxqt-globalkeys)
|
||
|
# include(${LXQT_GLOBALKEYS_USE_FILE})
|
||
|
# add_executable(use-lxqt-globalkeys main.cpp)
|
||
|
# target_link_libraries(use-qtxdg ${LXQT_GLOBALKEYS_QT_LIBRARIES} ${LXQT_GLOBALKEYS_LIBRARIES})
|
||
|
|
||
|
set(LXQT_GLOBALKEYS_INCLUDE_DIR @LXQT_GLOBALKEYS_INCLUDE_DIR@)
|
||
|
set(LXQT_GLOBALKEYS_LIBRARY @LXQT_GLOBALKEYS_LIBRARY_NAME@)
|
||
|
|
||
|
set(LXQT_GLOBALKEYS_LIBRARIES "${LXQT_GLOBALKEYS_LIBRARY}")
|
||
|
set(LXQT_GLOBALKEYS_INCLUDE_DIRS "${LXQT_GLOBALKEYS_INCLUDE_DIR}")
|
||
|
set(LXQT_GLOBALKEYS_LIBRARY_DIRS @CMAKE_INSTALL_PREFIX@/@LIB_INSTALL_DIR@)
|
||
|
|
||
|
set(LXQT_GLOBALKEYS_USE_FILE "${CMAKE_CURRENT_LIST_DIR}/lxqt_globalkeys_use.cmake")
|
||
|
set(LXQT_GLOBALKEYS_FOUND 1)
|
||
|
|
||
|
set(LXQT_GLOBALKEYS_MAJOR_VERSION @LXQT_MAJOR_VERSION@)
|
||
|
set(LXQT_GLOBALKEYS_MINOR_VERSION @LXQT_MINOR_VERSION@)
|
||
|
set(LXQT_GLOBALKEYS_PATCH_VERSION @LXQT_PATCH_VERSION@)
|
||
|
set(LXQT_GLOBALKEYS_VERSION @LXQT_VERSION@)
|
||
|
|
||
|
mark_as_advanced(LXQT_GLOBALKEYS_LIBRARY LXQT_GLOBALKEYS_INCLUDE_DIR)
|