File tree Expand file tree Collapse file tree 5 files changed +5
-6
lines changed
SofaRuntime/src/SofaPython3/SofaRuntime
Sofa/src/SofaPython3/Sofa/Core Expand file tree Collapse file tree 5 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11project (SofaPython3Testing VERSION 1.0)
22
33find_package (Sofa.Testing REQUIRED)
4+ find_package (Sofa.SimpleApi REQUIRED)
45
56set (HEADER_FILES
67 src/SofaPython3Testing/config.h.in
Original file line number Diff line number Diff line change @@ -32,9 +32,6 @@ namespace py = pybind11;
3232#include < sofa/helper/system/PluginManager.h>
3333using sofa::helper::system::PluginManager;
3434
35- #include < sofa/simulation/graph/SimpleApi.h>
36- namespace simpleapi = sofa::simpleapi;
37-
3835#include < sofa/helper/system/SetDirectory.h>
3936using sofa::helper::system::SetDirectory;
4037
Original file line number Diff line number Diff line change 2727#include < sofa/core/objectmodel/BaseData.h>
2828using sofa::core::objectmodel::BaseData;
2929
30- #include < sofa/simulation/graph /SimpleApi.h>
30+ #include < sofa/simpleapi /SimpleApi.h>
3131namespace simpleapi = sofa::simpleapi;
3232
3333#include < sofa/helper/logging/Messaging.h>
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ if (NOT TARGET SofaPython3::Plugin)
8585endif ()
8686
8787sofa_find_package(Sofa.Simulation.Core REQUIRED)
88+ sofa_find_package(Sofa.SimpleApi REQUIRED)
8889sofa_find_package(Sofa.Component .Collision.Response.Contact REQUIRED) # for Binding_ContactListener
8990sofa_find_package(Sofa.Component .Visual REQUIRED) # for Binding_BaseCamera
9091
@@ -95,5 +96,5 @@ SP3_add_python_module(
9596 DESTINATION Sofa
9697 SOURCES ${SOURCE_FILES}
9798 HEADERS ${HEADER_FILES}
98- DEPENDS Sofa.Simulation.Core Sofa.Component .Collision.Response.Contact Sofa.Component .Visual SofaPython3::Plugin
99+ DEPENDS Sofa.Simulation.Core Sofa.SimpleApi Sofa. Component .Collision.Response.Contact Sofa.Component .Visual SofaPython3::Plugin
99100)
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ namespace py = pybind11;
2525using sofa::simulation::graph::DAGSimulation ;
2626using sofa::simulation::Simulation;
2727
28- #include < sofa/simulation/graph /SimpleApi.h>
28+ #include < sofa/simpleapi /SimpleApi.h>
2929namespace simpleapi = sofa::simpleapi;
3030
3131#include < sofa/helper/Utils.h>
You can’t perform that action at this time.
0 commit comments