File: FindBlosc.cmake

package info (click to toggle)
python-blosc 1.11.1%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 444 kB
  • sloc: python: 925; ansic: 464; makefile: 29; sh: 3
file content (12 lines) | stat: -rw-r--r-- 387 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
find_path(Blosc_INCLUDE_DIR blosc.h)

find_library(Blosc_LIBRARY NAMES blosc)

if (Blosc_INCLUDE_DIR AND Blosc_LIBRARY)
    set(Blosc_FOUND TRUE)
    set(Blosc_INCLUDE_DIRS ${Blosc_INCLUDE_DIR})
    set(Blosc_LIBRARIES ${Blosc_LIBRARY})
    message(STATUS "Found Blosc library: ${Blosc_LIBRARIES}")
else ()
    message(STATUS "No Blosc library found.  Using internal sources.")
endif ()