summaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/FindTHRIFT.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/Modules/FindTHRIFT.cmake b/cmake/Modules/FindTHRIFT.cmake
index 8cdf8b404a..167c0e1124 100644
--- a/cmake/Modules/FindTHRIFT.cmake
+++ b/cmake/Modules/FindTHRIFT.cmake
@@ -3,7 +3,8 @@ if(NOT PKG_CONFIG_FOUND)
endif()
PKG_CHECK_MODULES(PC_THRIFT thrift)
-set(THRIFT_REQ_VERSION "0.9.2")
+set(THRIFT_REQ_VERSION ${THRIFT_FIND_VERSION})
+message(STATUS "thrift looking for version ${THRIFT_REQ_VERSION}")
# If pkg-config found Thrift and it doesn't meet our version
# requirement, warn and exit -- does not cause an error; just doesn't