dynamips icon indicating copy to clipboard operation
dynamips copied to clipboard

dynamips fails to configure with cmake-4

Open mm1ke opened this issue 8 months ago • 1 comments

Hi,

When trying to configure dynamips with cmake-4 it fails with following error:

CMake Error at CMakeLists.txt:10 (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.

Now there are certainly some ways to work around this, but i'm not sure if the mentioned workarounds are enough (haven't checked). However, i'm wondering if it wouldn't be better to create a new release given the recent changes to dynamips?

mm1ke avatar Jun 15 '25 09:06 mm1ke

This was actually fixed by https://github.com/GNS3/dynamips/commit/fdbbb7d3887eaa5b024bbcbcc14215f420a7e989#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20aR9. So I agree, a new release would be appropriate.

dotlambda avatar Oct 11 '25 20:10 dotlambda