File: FindGEOTIFF.cmake

package info (click to toggle)
mapcache 1.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,444 kB
  • ctags: 1,304
  • sloc: ansic: 21,740; xml: 332; makefile: 60; python: 48; sh: 41
file content (13 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
find_path(GEOTIFF_INCLUDE_DIR
   NAMES geotiff.h
   PATH_SUFFIXES libgeotiff geotiff)

find_library(GEOTIFF_LIBRARY
   NAMES geotiff geotiff3
   PATH_SUFFIXES geotiff )

set(GEOTIFF_INCLUDE_DIRS ${GEOTIFF_INCLUDE_DIR})
set(GEOTIFF_LIBRARIES ${GEOTIFF_LIBRARY})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GEOTIFF DEFAULT_MSG GEOTIFF_LIBRARY GEOTIFF_INCLUDE_DIR)
mark_as_advanced(GEOTIFF_LIBRARY GEOTIFF_INCLUDE_DIR)