Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ntjohnson1
Copy link
Member

@ntjohnson1 ntjohnson1 commented Aug 5, 2025

Related

What

This checks for newer CMake and automatically applies an automatic workaround.
If a user explicitly provides a CMAKE_POLICY_VERSION_MINIMUM we defer to that.

Verified by running the cmake commands from cpp-compile-all

cmake -G 'Ninja' -B build/debug -S . -DCMAKE_BUILD_TYPE=Debug
cmake --build build/debug --config Debug --target ALL

This works

cmake -G 'Ninja' -B build/debug -S . -DCMAKE_BUILD_TYPE=Debug -DCMAKE_POLICY_VERSION_MINIMUM=4.0
cmake --build build/debug --config Debug --target ALL

This intentionall fails

@ntjohnson1 ntjohnson1 added this to the 0.24.1 - bug fixes milestone Aug 5, 2025
@Wumpf Wumpf self-requested a review August 5, 2025 13:26
@Wumpf Wumpf merged commit aff1759 into main Aug 5, 2025
45 checks passed
@Wumpf Wumpf deleted the nick/cpp_arrow_build branch August 5, 2025 16:23
emilk pushed a commit that referenced this pull request Aug 6, 2025
@emilk emilk changed the title Resolve CPP Arrow Build Fix C++ Arrow build Aug 7, 2025
@emilk emilk mentioned this pull request Aug 7, 2025
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

C++ SDK compilation fails with CMake > 4.0
2 participants