Merge pull request #1831 from theopolis/thrift_093

Require Thrift 0.9.3
This commit is contained in:
Teddy Reed 2016-02-05 16:34:17 -08:00
commit b8592ed904
2 changed files with 6 additions and 1 deletions

View File

@ -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()

View File

@ -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)