Skip to content

Require CMake 3.5 policy version#13

Open
dfateyev wants to merge 1 commit into
halon:masterfrom
dfateyev:cmake-version-bump
Open

Require CMake 3.5 policy version#13
dfateyev wants to merge 1 commit into
halon:masterfrom
dfateyev:cmake-version-bump

Conversation

@dfateyev

@dfateyev dfateyev commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

CMake 4.0 dropped compatibility with policies older than 3.5, so cmake_minimum_required(VERSION 2.8) no longer configures (FTBFS in modern build environments).

Raise the floor to 3.5 and use the range syntax to opt into modern policy behavior without breaking older CMake.
This change should not affect any real environments, since most environments already switched to CMake 3.5+.

This addresses issue #10.

CMake 4.0 dropped compatibility with policies older than 3.5, so
cmake_minimum_required(VERSION 2.8) no longer configures (FTBFS).
Raise the floor to 3.5 and use the range syntax to opt into modern
policy behavior without breaking older 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.

1 participant