File: FindRRB.cmake

package info (click to toggle)
immer 0.8.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,132 kB
  • sloc: cpp: 27,932; python: 534; makefile: 227; lisp: 175; sh: 114; javascript: 64
file content (15 lines) | stat: -rw-r--r-- 426 bytes parent folder | download
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)