Warning, /education/cantor/FindCantor.cmake is written in an unsupported language. File is not indexed.
0001 # - Try to find the Cantor Library 0002 # Once done this will define 0003 # 0004 # CANTOR_FOUND - system has Cantor 0005 # CANTOR_INCLUDE_DIR - the Cantor include directory 0006 # CANTOR_LIBRARIES 0007 # Redistribution and use is allowed according to the terms of the BSD license. 0008 # For details see the accompanying COPYING-CMAKE-SCRIPTS file. 0009 # 0010 0011 0012 if ( CANTOR_INCLUDE_DIR AND CANTOR_LIBRARIES ) 0013 # in cache already 0014 SET( CANTOR_FIND_QUIETLY TRUE ) 0015 endif ( CANTOR_INCLUDE_DIR AND CANTOR_LIBRARIES ) 0016 0017 FIND_PATH( CANTOR_INCLUDE_DIR NAMES backend.h PATH_SUFFIXES cantor 0018 ) 0019 0020 FIND_LIBRARY( CANTOR_LIBRARIES NAMES cantorlibs ) 0021 0022 0023 include( FindPackageHandleStandardArgs ) 0024 FIND_PACKAGE_HANDLE_STANDARD_ARGS( cantor DEFAULT_MSG CANTOR_INCLUDE_DIR CANTOR_LIBRARIES )