diff options
author | 2018-04-12 20:19:54 -0400 | |
---|---|---|
committer | 2018-04-12 20:19:54 -0400 | |
commit | cd1b32453a9296c18b28bff71607aeb22987b5cd (patch) | |
tree | c653c6d525b471914c01a9d7ae543f521b6138ed /CMake/FindXKBCommon.cmake | |
parent | Merge pull request #1634 from aleksander/master (diff) | |
parent | Fix separator height calculation (diff) | |
download | sway-cd1b32453a9296c18b28bff71607aeb22987b5cd.tar.gz sway-cd1b32453a9296c18b28bff71607aeb22987b5cd.tar.zst sway-cd1b32453a9296c18b28bff71607aeb22987b5cd.zip |
Merge branch 'wlroots'
Diffstat (limited to 'CMake/FindXKBCommon.cmake')
-rw-r--r-- | CMake/FindXKBCommon.cmake | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/CMake/FindXKBCommon.cmake b/CMake/FindXKBCommon.cmake deleted file mode 100644 index 30ac503a..00000000 --- a/CMake/FindXKBCommon.cmake +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | # - Find XKBCommon | ||
2 | # Once done, this will define | ||
3 | # | ||
4 | # XKBCOMMON_FOUND - System has XKBCommon | ||
5 | # XKBCOMMON_INCLUDE_DIRS - The XKBCommon include directories | ||
6 | # XKBCOMMON_LIBRARIES - The libraries needed to use XKBCommon | ||
7 | # XKBCOMMON_DEFINITIONS - Compiler switches required for using XKBCommon | ||
8 | |||
9 | find_package(PkgConfig) | ||
10 | pkg_check_modules(PC_XKBCOMMON QUIET xkbcommon) | ||
11 | find_path(XKBCOMMON_INCLUDE_DIRS NAMES xkbcommon/xkbcommon.h HINTS ${PC_XKBCOMMON_INCLUDE_DIRS}) | ||
12 | find_library(XKBCOMMON_LIBRARIES NAMES xkbcommon HINTS ${PC_XKBCOMMON_LIBRARY_DIRS}) | ||
13 | |||
14 | set(XKBCOMMON_DEFINITIONS ${PC_XKBCOMMON_CFLAGS_OTHER}) | ||
15 | |||
16 | include(FindPackageHandleStandardArgs) | ||
17 | find_package_handle_standard_args(XKBCOMMON DEFAULT_MSG XKBCOMMON_LIBRARIES XKBCOMMON_INCLUDE_DIRS) | ||
18 | mark_as_advanced(XKBCOMMON_LIBRARIES XKBCOMMON_INCLUDE_DIRS) | ||
19 | |||