File: FindCantor.cmake

package info (click to toggle)
cantor 4%3A25.04.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 25,828 kB
  • sloc: cpp: 43,775; ansic: 5,802; pascal: 1,027; python: 642; xml: 457; sh: 308; makefile: 207; lisp: 91
file content (24 lines) | stat: -rw-r--r-- 733 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 # - Try to find the Cantor Library
# Once done this will define
#
#  CANTOR_FOUND - system has Cantor
#  CANTOR_INCLUDE_DIR - the Cantor include directory
#  CANTOR_LIBRARIES 
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#


if ( CANTOR_INCLUDE_DIR AND CANTOR_LIBRARIES )
   # in cache already
   SET( CANTOR_FIND_QUIETLY TRUE )
endif ( CANTOR_INCLUDE_DIR AND CANTOR_LIBRARIES )

FIND_PATH( CANTOR_INCLUDE_DIR NAMES backend.h PATH_SUFFIXES cantor
)

FIND_LIBRARY( CANTOR_LIBRARIES NAMES cantorlibs )


include( FindPackageHandleStandardArgs )
FIND_PACKAGE_HANDLE_STANDARD_ARGS( cantor DEFAULT_MSG CANTOR_INCLUDE_DIR CANTOR_LIBRARIES )