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