sofa-framework / sofa

Real-time multi-physics simulation with an emphasis on medical simulation.
https://www.sofa-framework.org
GNU Lesser General Public License v2.1
878 stars 297 forks source link

[Sofa.Testing] Add SimpleApi in Config.cmake.in #4542

Closed alxbilger closed 3 months ago

alxbilger commented 3 months ago

Following https://github.com/sofa-framework/sofa/pull/4495 This is to fix https://github.com/sofa-framework/BeamAdapter/actions/runs/8069371516/job/22044285700?pr=140

CMake Error at BeamAdapter_test/CMakeLists.txt:5 (find_package):
  Found package configuration file:

    D:/a/BeamAdapter/BeamAdapter/sofa/lib/cmake/Sofa.Testing/Sofa.TestingConfig.cmake

  but it set Sofa.Testing_FOUND to FALSE so package "Sofa.Testing" is
  considered to be NOT FOUND.  Reason given by package:

  The following imported targets are referenced, but are missing:
  Sofa.SimpleApi

-- Configuring incomplete, errors occurred!

By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if