Skip to content

Support CMake 4.0 #446

Description

@LecrisUT

We recently tried to naively update this package's support for CMake 4.0, but it seems there is some additional changes necessary based on the failure

--   Found zlib, version 1.3.1.zlib-ng
LIB3MF_TESTS ... ON
-- Configuring done (0.9s)
CMake Error at Tests/CPP_Bindings/CMakeLists.txt:51 (add_dependencies):
  The dependency target "crypto" of target "Test_CPP_Bindings" does not
  exist.


CMake Error at Tests/CPP_Bindings/CMakeLists.txt:50 (add_dependencies):
  The dependency target "ssl" of target "Test_CPP_Bindings" does not exist.

At first glance this is an issue with the visibility of the targets. There is a policy that fixes this issue which I can find for reference at a later time. Adding a higher bound to cmake_minimum_required might fix this issue.

Feel free to get in touch if you need help fixing this issue

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