Skip to content

Fix CMake 4.0 compatibility. - #68

Merged
pwnall merged 2 commits into
google:mainfrom
teo-tsirpanis:cmake-4.0
Apr 7, 2025
Merged

pwnall merged 2 commits into
google:mainfrom
teo-tsirpanis:cmake-4.0

Conversation

@teo-tsirpanis

Copy link
Copy Markdown
Contributor

CMake 4.0 removed compatibility with versions earlier than 3.5. This PR updates CMakeLists.txt to require at least CMake 3.16, which is the earliest version supported by Google.

Some submodules also supported very old CMake versions and caused errors, which were fixed by bumping the submodules.

@raulcd

raulcd commented Apr 7, 2025

Copy link
Copy Markdown

@pwnall sorry for the direct ping but this fix would allow us to build https://github.com/googleapis/google-cloud-cpp into Apache Arrow without patching out crc32c

@pwnall
pwnall self-requested a review April 7, 2025 23:41

@pwnall pwnall left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for linking to the Google C++ library supported versions!

@Maxwell175

Copy link
Copy Markdown

@pwnall Can a new version tag perhaps be added to allow building a numbered version using modern CMake?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants