~ubuntu-branches/ubuntu/utopic/mir/utopic-proposed

« back to all changes in this revision

Viewing changes to cmake/FindXKBCOMMON.cmake

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release
  • Date: 2014-03-10 19:28:46 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: package-import@ubuntu.com-20140310192846-rq9qm3ec26yrelo2
Tags: upstream-0.1.6+14.04.20140310
ImportĀ upstreamĀ versionĀ 0.1.6+14.04.20140310

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
find_path(XKBCOMMON_INCLUDE_DIR xkbcommon/xkbcommon.h
4
4
          HINTS ${PC_XKBCOMMON_INCLUDEDIR} ${PC_XKBCOMMON_INCLUDE_DIRS})
5
5
 
6
 
if (MIR_PLATFORM STREQUAL "android")
7
 
find_library(XKBCOMMON_LIBRARY libxkbcommon.so
8
 
             HINTS /usr/lib/arm-linux-gnueabihf/)
9
 
else()
10
6
find_library(XKBCOMMON_LIBRARY xkbcommon
11
7
             HINTS ${PC_XKBCOMMON_LIBDIR} ${PC_XKBCOMMON_LIBRARY_DIRS})
12
 
endif()
13
8
 
14
9
set(XKBCOMMON_LIBRARIES ${XKBCOMMON_LIBRARY})
15
10
set(XKBCOMMON_INCLUDE_DIRS ${XKBCOMMON_INCLUDE_DIR})
20
15
find_package_handle_standard_args(XKBCOMMON  DEFAULT_MSG
21
16
                                  XKBCOMMON_LIBRARY XKBCOMMON_INCLUDE_DIR)
22
17
 
23
 
mark_as_advanced(XKBCOMMON_INCLUDE_DIR XKBCOMMON_LIBRARY)
 
 
b'\\ No newline at end of file'
 
18
mark_as_advanced(XKBCOMMON_INCLUDE_DIR XKBCOMMON_LIBRARY)