Skip to content

ci: force newer CMake policy#1068

Draft
kenhys wants to merge 1 commit into
fluent:masterfrom
kenhys:ci-force-newer-cmake-policy
Draft

ci: force newer CMake policy#1068
kenhys wants to merge 1 commit into
fluent:masterfrom
kenhys:ci-force-newer-cmake-policy

Conversation

@kenhys

@kenhys kenhys commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

newer CMake drops policy version < 3.5, so keeping build with older policy (e.g. cmetrics), raise border to 3.5 on windows-latest

  -----
  CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 3.5 has been removed from CMake.
    Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
    to tell CMake that the project requires at least <min> but has been updated
    to work with policies introduced by <max> or earlier.
    Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
  -- Configuring incomplete, errors occurred!
  ----- end of file -----
  *** extconf.rb failed ***

@kenhys kenhys force-pushed the ci-force-newer-cmake-policy branch 2 times, most recently from b3c57b8 to adfc6ef Compare June 18, 2026 02:37
@kenhys

kenhys commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

#1069 was landed, so it is not requried for now.
But in the future, we need to follow newer CMake or force policy version.

newer CMake drops policy version < 3.5, so keeping
build with older policy (e.g. cmetrics), raise border to
3.5 on windows-latest

  -----
  CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
    Compatibility with CMake < 3.5 has been removed from CMake.
    Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
    to tell CMake that the project requires at least <min> but has been updated
    to work with policies introduced by <max> or earlier.
    Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
  -- Configuring incomplete, errors occurred!
  ----- end of file -----
  *** extconf.rb failed ***

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
@kenhys kenhys force-pushed the ci-force-newer-cmake-policy branch from adfc6ef to 63ce93e Compare June 18, 2026 02:53
@kenhys

kenhys commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

Keep this PR open.

@kenhys kenhys added the enhancement New feature or request label Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant