File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ if(SP3_BUILD_TEST)
4141 find_package (Threads REQUIRED )
4242endif ()
4343
44- sofa_find_package (SofaExporter QUIET )
45- CMAKE_DEPENDENT_OPTION (SP3_WITH_SOFAEXPORTER "Bind the SOFA exporter component." ON "SofaExporter_FOUND " OFF )
44+ sofa_find_package (Sofa.Component.IO.Mesh QUIET )
45+ CMAKE_DEPENDENT_OPTION (SP3_WITH_SOFAEXPORTER "Bind the SOFA exporter component." ON "Sofa.Component.IO.Mesh_FOUND " OFF )
4646
4747# BUILD OPTIONS
4848if (NOT SP3_COMPILED_AS_SUBPROJECT)
Original file line number Diff line number Diff line change 55
66find_package (SofaPython3 QUIET REQUIRED COMPONENTS Plugin Bindings.Sofa )
77
8- find_package (SofaExporter QUIET REQUIRED )
8+ find_package (Sofa.Component.IO.Mesh QUIET REQUIRED )
99
1010# If we are importing this config file and the target is not yet there this is indicating that
1111# target is an imported one. So we include it
Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ set(SOURCE_FILES
1313 ${CMAKE_CURRENT_SOURCE_DIR} /src/SofaExporter/Module_SofaExporter.cpp
1414)
1515
16- sofa_find_package (SofaExporter REQUIRED )
16+ sofa_find_package (Sofa.Component.IO.Mesh REQUIRED )
1717
1818SP3_add_python_module (
1919 TARGET ${PROJECT_NAME}
2020 MODULE SofaExporter
2121 DESTINATION .
2222 SOURCES ${SOURCE_FILES}
2323 HEADERS ${HEADER_FILES}
24- DEPENDS SofaExporter SofaPython3::Plugin SofaPython3::Bindings.Sofa.Core
24+ DEPENDS Sofa.Component.IO.Mesh SofaPython3::Plugin SofaPython3::Bindings.Sofa.Core
2525)
2626
2727sofa_create_component_in_package_with_targets (
You can’t perform that action at this time.
0 commit comments