~robertcarr/mir/send-clients-input

« back to all changes in this revision

Viewing changes to cmake/FindLibHardware.cmake

  • Committer: Daniel van Vugt
  • Date: 2013-03-07 08:04:05 UTC
  • mfrom: (467.1.6 trunk)
  • mto: (467.1.21 trunk)
  • mto: This revision was merged to the branch mainline in revision 486.
  • Revision ID: daniel.van.vugt@canonical.com-20130307080405-vgn5g2ts7j08xekk
MergeĀ latestĀ lp:mir

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
INCLUDE(FindPackageHandleStandardArgs)
7
7
 
8
 
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
9
8
find_path(LIBHARDWARE_INCLUDE_DIR
10
9
   NAMES         hardware/hardware.h
11
10
                 hardware/gralloc.h
12
11
                 cutils/native_handle.h
13
12
                 system/graphics.h
14
13
                 system/window.h
 
14
 
 
15
                 #we keep these headers in-tree, so search in-tree
 
16
                 NO_CMAKE_FIND_ROOT_PATH
15
17
   )
16
18
 
17
19
find_library(LIBHARDWARE_LIBRARY