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

9 lines
266 B
CMake

find_path(LZO_INCLUDE_DIRS NAMES lzo/lzo1x.h)
find_library(LZO_LIBRARIES NAMES lzo2)
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(
LZO DEFAULT_MSG
LZO_LIBRARIES LZO_INCLUDE_DIRS)
mark_as_advanced(LZO_INCLUDE_DIRS LZO_LIBRARIES)