File: FindMAPSERVER.cmake

package info (click to toggle)
mapcache 1.14.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,844 kB
  • sloc: ansic: 33,609; xml: 889; sh: 183; makefile: 61; python: 48
file content (15 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

FIND_PATH(MAPSERVER_INCLUDE_DIR
    NAMES mapserver.h
    PATH_SUFFIXES mapserver
)

FIND_LIBRARY(MAPSERVER_LIBRARY
    NAMES mapserver
)

set(MAPSERVER_INCLUDE_DIRS ${MAPSERVER_INCLUDE_DIR})
set(MAPSERVER_LIBRARIES ${MAPSERVER_LIBRARY})
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(MAPSERVER DEFAULT_MSG MAPSERVER_LIBRARY MAPSERVER_INCLUDE_DIR)
mark_as_advanced(MAPSERVER_LIBRARY MAPSERVER_INCLUDE_DIR)