about summary refs log tree commit diff
path: root/cmake/FindRRB.cmake
blob: 86b552f86e431ea588ea827faa1e83c2994b27a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# - Try to find c-rrb
# Once done, this will define
#
#  RRB_FOUND - system has RRB
#  RRB_INCLUDE_DIR - the RRB include directories
#  RRB_LIBRARIES - link these to use RRB

find_path(RRB_INCLUDE_DIR rrb.h)
find_library(RRB_LIBRARIES NAMES rrb librrb)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
  RRB DEFAULT_MSG RRB_LIBRARIES RRB_INCLUDE_DIR)

mark_as_advanced(RRB_INCLUDE_DIR RRB_LIBRARIES)