diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/arrow-adbc/fix_static_build.patch | |
Diffstat (limited to 'vcpkg/ports/arrow-adbc/fix_static_build.patch')
| -rw-r--r-- | vcpkg/ports/arrow-adbc/fix_static_build.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/arrow-adbc/fix_static_build.patch b/vcpkg/ports/arrow-adbc/fix_static_build.patch new file mode 100644 index 0000000..6e427c1 --- /dev/null +++ b/vcpkg/ports/arrow-adbc/fix_static_build.patch @@ -0,0 +1,13 @@ +diff --git a/c/cmake_modules/BuildUtils.cmake b/c/cmake_modules/BuildUtils.cmake +index 88209ac..aefff1d 100644 +--- a/c/cmake_modules/BuildUtils.cmake ++++ b/c/cmake_modules/BuildUtils.cmake +@@ -310,7 +310,7 @@ function(ADD_ARROW_LIB LIB_NAME) + if(BUILD_STATIC) + add_library(${LIB_NAME}_static STATIC ${LIB_DEPS}) + target_compile_features(${LIB_NAME}_static PRIVATE cxx_std_11) +- set_property(TARGET ${LIB_NAME}_shared PROPERTY CXX_STANDARD_REQUIRED ON) ++ set_property(TARGET ${LIB_NAME}_static PROPERTY CXX_STANDARD_REQUIRED ON) + adbc_configure_target(${LIB_NAME}_static) + if(EXTRA_DEPS) + add_dependencies(${LIB_NAME}_static ${EXTRA_DEPS}) |