Bug 298164 - cad/fdm_materials: Fails to build with CMake 4
Summary: cad/fdm_materials: Fails to build with CMake 4
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Diane Bruce
URL:
Keywords:
Depends on:
Blocks: 295319
  Show dependency tree / graph
 
Reported: 2026-09-04 09:26 UTC by Gleb Popov
Modified: 2026-09-04 09:26 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (db)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gleb Popov freebsd_committer freebsd_triage 2026-09-04 09:26:01 UTC
CMake Error at CMakeLists.txt:3 (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.

The CMake WIP branch is here: https://github.com/arrowd/freebsd-ports/tree/cmake-wip