Skip to content

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Dec 9, 2025

CMake 3.18 was released on 2020-07-15.

It enables using (and/or dropping workarounds) for these features:
LTO support, better performance and pkg-config support, OBJECT target,
-S, -B, --verbose, --install on the command-line, lib directory
support in interface targets, target_link_options(), LINK_OPTIONS,
FetchContent, list(PREPEND ...), unity, Ninja, fixed imported global
issues.

Ref: #18704

@vszakats vszakats added the cmake label Dec 9, 2025
@vszakats vszakats changed the title DEPRECATE: add CMake <3.18 deprecation DEPRECATE: add CMake <3.18 deprecation for April 2026 Dec 9, 2025
@vszakats vszakats requested review from bagder and Copilot December 9, 2025 15:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a deprecation notice for CMake versions earlier than 3.18, scheduled for removal in April 2026. The change aligns with curl's ongoing effort to modernize build requirements and drop support for older tooling versions. Currently, the codebase supports CMake 3.7-3.16.

Key Changes:

  • Added CMake 3.17 and earlier to the list of deprecated features in docs/DEPRECATE.md with an April 2026 removal date

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@bagder bagder left a comment

Choose a reason for hiding this comment

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

👍 We could possibly add already there that 3.18.0 was released on July 15, 2020.

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

Development

Successfully merging this pull request may close these issues.

2 participants