We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 483f72d commit 5017223Copy full SHA for 5017223
CMakeLists.txt
@@ -32,8 +32,7 @@ find_library(LEVELDB_LIBRARY leveldb REQUIRED)
32
find_library(NURAFT_LIBRARY nuraft REQUIRED)
33
find_library(GTEST_LIBRARY gtest REQUIRED)
34
find_library(GTEST_MAIN_LIBRARY gtest_main REQUIRED)
35
-include(CheckLibraryExists)
36
-check_library_exists(snappy snappy_compress "" HAVE_SNAPPY)
+find_library(SNAPPY_LIBRARY snappy_compress REQUIRED)
37
38
message("Disabling Run Time Type Information (RTTI) features.")
39
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
0 commit comments