vcpkg/ports/arrow/0002-thrift.patch
Bryce Mecum 4353b6e33f
[arrow] Update to 18.1.0 (#42357)
Co-authored-by: Kai Pastor <dg0yt@darc.de>
2024-12-02 16:29:01 -08:00

23 lines
752 B
Diff

diff --git a/cpp/cmake_modules/FindThriftAlt.cmake b/cpp/cmake_modules/FindThriftAlt.cmake
index f3e4902..65ceac8 100644
--- a/cpp/cmake_modules/FindThriftAlt.cmake
+++ b/cpp/cmake_modules/FindThriftAlt.cmake
@@ -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()
+
function(extract_thrift_version)
if(ThriftAlt_INCLUDE_DIR)