Warning, /education/marble/cmake/modules/Findlibshp.cmake is written in an unsupported language. File is not indexed.
0001 # LIBSHP_FOUND - system has the LIBSHP library 0002 # LIBSHP_INCLUDE_DIR - the LIBSHP include directory 0003 # LIBSHP_LIBRARIES - The libraries needed to use LIBSHP 0004 0005 if(LIBSHP_INCLUDE_DIR AND LIBSHP_LIBRARIES) 0006 set(LIBSHP_FOUND TRUE) 0007 else(LIBSHP_INCLUDE_DIR AND LIBSHP_LIBRARIES) 0008 0009 find_path(LIBSHP_INCLUDE_DIR NAMES shapefil.h PATH_SUFFIXES libshp) 0010 find_library(LIBSHP_LIBRARIES NAMES shp) 0011 0012 include(FindPackageHandleStandardArgs) 0013 find_package_handle_standard_args(libshp DEFAULT_MSG LIBSHP_INCLUDE_DIR LIBSHP_LIBRARIES) 0014 0015 mark_as_advanced(LIBSHP_INCLUDE_DIR LIBSHP_LIBRARIES) 0016 endif(LIBSHP_INCLUDE_DIR AND LIBSHP_LIBRARIES)