Debian Codegraph @

cmake_modules/FindGPSD.cmake

raw
1 # - Find GPSD
2 # Find the native GPSD includes and library
3
4 FIND_PATH(GPSD_INCLUDE_DIR libgpsmm.h gps.h)
5
6 SET(GPSD_NAMES ${GPSD_NAMES} gps)
7 FIND_LIBRARY(GPSD_LIBRARY NAMES ${GPSD_NAMES} )
8
9 # handle the QUIETLY and REQUIRED arguments and set JPEG_FOUND to TRUE if
10 # all listed variables are TRUE
11 INCLUDE(FindPackageHandleStandardArgs)
12 FIND_PACKAGE_HANDLE_STANDARD_ARGS(GPSD DEFAULT_MSG GPSD_LIBRARY GPSD_INCLUDE_DIR)
13
14 IF(GPSD_FOUND)
15 SET(GPSD_LIBRARIES ${GPSD_LIBRARY})
16 message(STATUS "Found libgps: ${GPSD_LIBRARIES}")
17 ENDIF(GPSD_FOUND)
18
19