2 # Try to find the Endace DAG library.
5 # Try to find the header
6 find_path(DAG_INCLUDE_DIR dagapi.h)
9 # Try to find the libraries
11 # We assume that if we have libdag we have libdagconf, as they're
12 # installed at the same time from the same package.
14 find_library(DAG_LIBRARY dag)
15 find_library(DAGCONF_LIBRARY dagconf)
17 include(FindPackageHandleStandardArgs)
18 find_package_handle_standard_args(DAG
31 set(DAG_INCLUDE_DIRS ${DAG_INCLUDE_DIR})
32 set(DAG_LIBRARIES ${DAG_LIBRARY} ${DAGCONF_LIBRARY})