summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorRyan Volz <ryan.volz@gmail.com>2021-05-14 15:52:43 -0400
committermormj <34754695+mormj@users.noreply.github.com>2021-06-01 07:43:04 -0400
commitd9b205f0fc9c3495f42b422ecd13edcc1a5e75ed (patch)
tree914a7b52fa870326bbec8c5789273793a41f574d /cmake
parentd113567bb248badf726622f60d485c7e5a421497 (diff)
cmake: Fix finding Thrift when it is built with MSVC.
Default CMake build for thrift with MSVC calls the library "thriftmd" or "thriftmt" depending on if the build is done with /MD or /MT flags. Signed-off-by: Ryan Volz <ryan.volz@gmail.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindTHRIFT.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/FindTHRIFT.cmake b/cmake/Modules/FindTHRIFT.cmake
index 167c0e1124..7de851c567 100644
--- a/cmake/Modules/FindTHRIFT.cmake
+++ b/cmake/Modules/FindTHRIFT.cmake
@@ -26,7 +26,7 @@ FIND_PATH(THRIFT_INCLUDE_DIRS
)
FIND_LIBRARY(THRIFT_LIBRARIES
- NAMES thrift
+ NAMES thrift thriftmd thriftmt
HINTS ${PC_THRIFT_LIBDIR}
${CMAKE_INSTALL_PREFIX}/lib
${CMAKE_INSTALL_PREFIX}/lib64