Warning, /libraries/kdb/cmake/modules/FindXBase.cmake is written in an unsupported language. File is not indexed.
0001 # - Try to find the XBase library 0002 # Once done this will define 0003 # 0004 # XBase_FOUND - system has XBase 0005 # XBase_INCLUDE_DIR - the XBase include directory 0006 # XBase_LIBRARIES - Link these to use XBase 0007 0008 0009 if (XBase_INCLUDE_DIR AND XBase_LIBRARIES ) 0010 0011 # Already in cache 0012 set(XBASE_FOUND TRUE) 0013 0014 else () 0015 0016 find_path(XBase_INCLUDE_DIR NAMES xbase.h 0017 PATHS /usr/include/xbase /usr/local/include/xbase 0018 ) 0019 0020 find_library(XBase_LIBRARIES NAMES xbase ) 0021 0022 include(FindPackageHandleStandardArgs) 0023 find_package_handle_standard_args(XBase DEFAULT_MSG XBase_INCLUDE_DIR XBase_LIBRARIES ) 0024 0025 mark_as_advanced(XBase_INCLUDE_DIR XBase_LIBRARIES) 0026 0027 endif () 0028