From 35fe685402d206a9dfb0cdf6b407ce2b2ab4af5f Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 16 Aug 2019 15:48:09 -0700 Subject: [PATCH] cmake: s/SNAPPY_LIBRARIES/snappy_LIBRARIES/ (#5687) Summary: fix the regression introduced by cc9fa7fc Signed-off-by: Kefu Chai Pull Request resolved: https://github.com/facebook/rocksdb/pull/5687 Differential Revision: D16870212 fbshipit-source-id: 78b5519e1d2b03262d102ca530491254ddffdc38 --- cmake/modules/Findsnappy.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)