summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/Modules/FindThrift.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/Modules/FindThrift.cmake b/cmake/Modules/FindThrift.cmake
index cef8a471ea..4702f90d78 100644
--- a/cmake/Modules/FindThrift.cmake
+++ b/cmake/Modules/FindThrift.cmake
@@ -13,10 +13,9 @@ endif(PC_THRIFT_FOUND AND PC_THRIFT_VERSION VERSION_LESS ${THRIFT_REQ_VERSION})
# Else, look for it ourselves
-
FIND_PATH(THRIFT_INCLUDE_DIRS
NAMES thrift/Thrift.h
- HINTS ${PC_THRIFT_INCLUDE_DIR}
+ HINTS ${PC_THRIFT_INCLUDE_DIRS}
${CMAKE_INSTALL_PREFIX}/include
PATHS
/usr/local/include