565.5.21
by Robert Carr
Fix android build |
1 |
pkg_check_modules( PC_XKBCOMMON QUIET xkbcommon ) |
2 |
||
3 |
find_path(XKBCOMMON_INCLUDE_DIR xkbcommon/xkbcommon.h |
|
4 |
HINTS ${PC_XKBCOMMON_INCLUDEDIR} ${PC_XKBCOMMON_INCLUDE_DIRS}) |
|
5 |
||
6 |
find_library(XKBCOMMON_LIBRARY xkbcommon |
|
7 |
HINTS ${PC_XKBCOMMON_LIBDIR} ${PC_XKBCOMMON_LIBRARY_DIRS}) |
|
8 |
||
9 |
set(XKBCOMMON_LIBRARIES ${XKBCOMMON_LIBRARY}) |
|
10 |
set(XKBCOMMON_INCLUDE_DIRS ${XKBCOMMON_INCLUDE_DIR}) |
|
11 |
||
12 |
include(FindPackageHandleStandardArgs) |
|
13 |
# handle the QUIETLY and REQUIRED arguments and set XKBCOMMON_FOUND to TRUE
|
|
14 |
# if all listed variables are TRUE
|
|
15 |
find_package_handle_standard_args(XKBCOMMON DEFAULT_MSG |
|
16 |
XKBCOMMON_LIBRARY XKBCOMMON_INCLUDE_DIR) |
|
17 |
||
1160.207.4
by Alexandros Frantzis
build: Allow building multiple platforms in the same build |
18 |
mark_as_advanced(XKBCOMMON_INCLUDE_DIR XKBCOMMON_LIBRARY) |