2023-04-12 14:18:19 +08:00
|
|
|
diff --git a/cpp/cmake_modules/FindThriftAlt.cmake b/cpp/cmake_modules/FindThriftAlt.cmake
|
|
|
|
index f3e4902..65ceac8 100644
|
|
|
|
--- a/cpp/cmake_modules/FindThriftAlt.cmake
|
2022-11-12 06:36:32 +08:00
|
|
|
+++ b/cpp/cmake_modules/FindThriftAlt.cmake
|
2023-04-12 14:18:19 +08:00
|
|
|
@@ -45,7 +45,7 @@ endif()
|
|
|
|
# * https://github.com/apache/thrift/pull/2725
|
|
|
|
# * https://github.com/apache/thrift/pull/2726
|
|
|
|
# * https://github.com/conda-forge/thrift-cpp-feedstock/issues/68
|
|
|
|
-if(NOT WIN32)
|
|
|
|
+
|
|
|
|
set(find_package_args "")
|
|
|
|
if(ThriftAlt_FIND_VERSION)
|
|
|
|
list(APPEND find_package_args ${ThriftAlt_FIND_VERSION})
|
|
|
|
@@ -61,7 +61,7 @@ if(NOT WIN32)
|
|
|
|
"${THRIFT_COMPILER}")
|
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
-endif()
|
2022-11-12 06:36:32 +08:00
|
|
|
+
|
|
|
|
|
2023-04-12 14:18:19 +08:00
|
|
|
function(extract_thrift_version)
|
|
|
|
if(ThriftAlt_INCLUDE_DIR)
|