diff --git a/cmake/modules/Findsnappy.cmake b/cmake/modules/Findsnappy.cmake index 2de2889c1..39bba6bd2 100644 --- a/cmake/modules/Findsnappy.cmake +++ b/cmake/modules/Findsnappy.cmake @@ -9,7 +9,7 @@ find_path(snappy_INCLUDE_DIRS NAMES snappy.h HINTS ${snappy_ROOT_DIR}/include) -find_library(SNAPPY_LIBRARIES +find_library(snappy_LIBRARIES NAMES snappy HINTS ${snappy_ROOT_DIR}/lib)