Skip to content

Commit 5017223

Browse files
author
paparuch
committed
Merge branch 'arch-linux-snappy' into trunk
Signed-off-by: paparuch <[email protected]>
1 parent 483f72d commit 5017223

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ find_library(LEVELDB_LIBRARY leveldb REQUIRED)
3232
find_library(NURAFT_LIBRARY nuraft REQUIRED)
3333
find_library(GTEST_LIBRARY gtest REQUIRED)
3434
find_library(GTEST_MAIN_LIBRARY gtest_main REQUIRED)
35-
include(CheckLibraryExists)
36-
check_library_exists(snappy snappy_compress "" HAVE_SNAPPY)
35+
find_library(SNAPPY_LIBRARY snappy_compress REQUIRED)
3736

3837
message("Disabling Run Time Type Information (RTTI) features.")
3938
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")

0 commit comments

Comments
 (0)