Commit 6a7743c1 authored by zhujiashun's avatar zhujiashun

replace_include_with_find_package

parent 1d6510aa
......@@ -141,8 +141,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
endif()
endif()
include(FindProtobuf)
include(FindThreads)
find_package(Protobuf REQUIRED)
find_package(Threads REQUIRED)
find_path(LEVELDB_INCLUDE_PATH NAMES leveldb/db.h)
find_library(LEVELDB_LIB NAMES leveldb)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment