Skip to content

CMake 4 causing issues with several libraries #281

@bena-nasa

Description

@bena-nasa

libyaml

 35 Configuring libyaml
 36 CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
 37   Compatibility with CMake < 3.5 has been removed from CMake.
 38
 39   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
 40   to tell CMake that the project requires at least <min> but has been updated
 41   to work with policies introduced by <max> or earlier.
 42
 43   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
 44
 45
 46 -- Configuring incomplete, errors occurred!
 47 make[1]: *** [libyaml.config] Error 1

ESMF

CMake Error at src/clib/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!
make[10]: ./Makefile: No such file or directory
make[10]: *** No rule to make target `./Makefile'.  Stop.
make[10]: ./Makefile: No such file or directory
make[10]: *** No rule to make target `./Makefile'.  Stop.
cp: ../Install/include/*: No such file or directory
cp: ../Install/lib/*: No such file or directory
make[9]: *** [tree_lib] Error 1
make[8]: *** [tree] Error 1
make[7]: *** [tree] Error 1
make[6]: *** [tree] Error 1
make[5]: *** [tree] Error 1
make[4]: *** [build_libs] Error 2

GFE

CMake Error at pFUnit/tests/funit-core/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!
make[1]: *** [GFE.config] Error 1
make: *** [install] Error 2

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