mariadb/cmake/FindLZ4.cmake
2021-10-27 15:55:14 +02:00

9 lines
259 B
CMake

find_path(LZ4_INCLUDE_DIRS NAMES lz4.h)
find_library(LZ4_LIBRARIES NAMES lz4)
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(
LZ4 DEFAULT_MSG
LZ4_LIBRARIES LZ4_INCLUDE_DIRS)
mark_as_advanced(LZ4_INCLUDE_DIRS LZ4_LIBRARIES)