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 )
|