File: FindCUB.cmake

package info (click to toggle)
lammps 20250204%2Bdfsg.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 474,368 kB
  • sloc: cpp: 1,060,070; python: 27,785; ansic: 8,956; f90: 7,254; sh: 6,044; perl: 4,171; fortran: 2,442; xml: 1,714; makefile: 1,352; objc: 238; lisp: 188; yacc: 58; csh: 16; awk: 14; tcl: 6; javascript: 2
file content (16 lines) | stat: -rw-r--r-- 438 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# - Find CUB
# Find the CUB header library
#
#  CUB_INCLUDE_DIRS - where to find cub/cub.cuh
#  CUB_FOUND        - True if CUB found.
#

find_path(CUB_INCLUDE_DIR cub.cuh PATH_SUFFIXES cub)

include(FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set CUB_FOUND to TRUE
# if all listed variables are TRUE

find_package_handle_standard_args(CUB DEFAULT_MSG CUB_INCLUDE_DIR)

mark_as_advanced(CUB_INCLUDE_DIR)