Files
UnrealEngine/Engine/Source/ThirdParty/Blosc/c-blosc-1.21.0/cmake/FindSnappy.cmake
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

11 lines
298 B
CMake

find_path(SNAPPY_INCLUDE_DIR snappy-c.h)
find_library(SNAPPY_LIBRARY NAMES snappy)
if (SNAPPY_INCLUDE_DIR AND SNAPPY_LIBRARY)
set(SNAPPY_FOUND TRUE)
message(STATUS "Found SNAPPY library: ${SNAPPY_LIBRARY}")
else ()
message(STATUS "No snappy found. Using internal sources.")
endif ()