summaryrefslogtreecommitdiff
path: root/cmake/FindLZ4.cmake
blob: 46c1fdc1b9f9c4933a79eaeaa55960fa87c56f7d (plain)
1
2
3
4
5
6
7
8
9
find_path(LZ4_INCLUDE_DIR NAMES lz4.h)
find_library(LZ4_LIBRARIES NAMES lz4)

include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(
    LZ4 DEFAULT_MSG
    LZ4_LIBRARIES LZ4_INCLUDE_DIR)

mark_as_advanced(LZ4_INCLUDE_DIR LZ4_LIBRARIES)