tvl-depot/third_party/immer/cmake/FindRRB.cmake
Vincent Ambo 1213b086a1 merge(3p/immer): Subtree merge at 'ad3e3556d' as 'third_party/immer'
Change-Id: I9636a41ad44b4218293833fd3e9456d9b07c731b
2020-07-15 08:23:32 +01:00

15 lines
426 B
CMake

# - 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)