4 # EBLOB_FOUND - whether the eblob was found
5 # EBLOB_LIBRARIES - eblob libraries
6 # EBLOB_INCLUDE_DIRS - the include path of the eblob library
7 # EBLOB_CFLAGS - eblob compile flags
9 if (NOT EBLOB_INCLUDE_DIRS)
10 find_path(EBLOB_INCLUDE_DIRS eblob/blob.h)
13 if (NOT EBLOB_LIBRARIES)
14 find_library(EBLOB_LIBRARIES NAMES eblob PATHS ${EBLOB_LIBRARY_DIRS})
18 set(EBLOB_CFLAGS "-DHAVE_EBLOB=1")
21 include(FindPackageHandleStandardArgs)
22 find_package_handle_standard_args(EBLOB DEFAULT_MSG EBLOB_LIBRARIES EBLOB_INCLUDE_DIRS)
23 mark_as_advanced(EBLOB_LIBRARIES EBLOB_INCLUDE_DIRS)