summaryrefslogtreecommitdiffstats
path: root/cmake/FindLZO.cmake
blob: 04391bb4720bc6e487865291274006cf586ba29b (plain)
1
2
3
4
5
6
7
8
9
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)