diff options
author | 2017-12-01 08:21:01 -0500 | |
---|---|---|
committer | 2017-12-01 08:21:01 -0500 | |
commit | 1cfebe827ae53a243ffdd1e09f8b71d4c1a4e254 (patch) | |
tree | b74002984ff80201c02ed9c22ca2fe1cdae98e23 /CMake/FindXKBCommon.cmake | |
parent | Merge pull request #1482 from acrisci/refactor/use-frame-done (diff) | |
parent | update travis (diff) | |
download | sway-1cfebe827ae53a243ffdd1e09f8b71d4c1a4e254.tar.gz sway-1cfebe827ae53a243ffdd1e09f8b71d4c1a4e254.tar.zst sway-1cfebe827ae53a243ffdd1e09f8b71d4c1a4e254.zip |
Merge pull request #1479 from acrisci/feature/meson-build
meson build
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 | |||