mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 01:55:20 +00:00
Merge pull request #1831 from theopolis/thrift_093
Require Thrift 0.9.3
This commit is contained in:
commit
b8592ed904
@ -50,3 +50,8 @@ if(NOT DEFINED THRIFT_FOUND)
|
||||
THRIFT_INCLUDE_DIR
|
||||
)
|
||||
endif()
|
||||
|
||||
if (NOT "${THRIFT_VERSION}" STREQUAL "Thrift version 0.9.3")
|
||||
WARNING_LOG("[Ref #1830] Cannot use thrift versions <0.9.3 (found ${THRIFT_VERSION})")
|
||||
message(FATAL_ERROR "[Ref #1830] Need thrift version 0.9.3")
|
||||
endif()
|
||||
|
@ -342,7 +342,7 @@ find_package(Gflags REQUIRED)
|
||||
find_package(Gtest REQUIRED)
|
||||
find_package(RocksDB REQUIRED)
|
||||
find_package(Sqlite3 REQUIRED)
|
||||
find_package(Thrift 0.9.1 REQUIRED)
|
||||
find_package(Thrift 0.9.3 REQUIRED)
|
||||
|
||||
# If using the RocksDB LITE version our code must also define ROCKSDB_LITE=1
|
||||
if(ROCKSDB_LITE_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user