Skip to content

Some updates required to work with cmake version 4 #66

@dl1ycf

Description

@dl1ycf

Lately, homebrew has updated cmake to version 4 (on my system, version 4.0.1 is now installed).
This leads to the following error

==> Reinstalling pothosware/pothos/limesuite
==> cmake .. -DENABLE_QUICKTEST=OFF -DENABLE_OCTAVE=OFF -DDOWNLOAD_IMAGES=FALSE -DENABLE_STREAM=ON -DENABLE_GUI=ON -DENA
Last 15 lines from /Users/chwu/Library/Logs/Homebrew/limesuite/01.cmake:
-Wno-dev
-DBUILD_TESTING=OFF
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk

CMake Error at CMakeLists.txt:4 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


perhaps "cmake_minimum_required" should be adjusted in CMakeListe.txt?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions