diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a8488b..6043955 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,7 @@ sofa_find_package(Sofa.Type REQUIRED) sofa_find_package(Sofa.Core REQUIRED) sofa_find_package(Sofa.Simulation.Graph REQUIRED) sofa_find_package(Sofa.Component.Collision.Geometry REQUIRED) +sofa_find_package(Sofa.SimpleApi REQUIRED) set(SOFABENCHMARK_SRC "src") @@ -62,7 +63,7 @@ endif() add_executable(${PROJECT_NAME} ${SOURCE_FILES} ${HEADER_FILES}) target_link_libraries(${PROJECT_NAME} PUBLIC benchmark::benchmark) -target_link_libraries(${PROJECT_NAME} PUBLIC Sofa.Type Sofa.Core Sofa.Simulation.Graph Sofa.Component.Collision.Geometry) +target_link_libraries(${PROJECT_NAME} PUBLIC Sofa.Type Sofa.Core Sofa.Simulation.Graph Sofa.Component.Collision.Geometry Sofa.SimpleApi) target_include_directories(${PROJECT_NAME} PUBLIC ${SOFABENCHMARK_SRC}) # regroup benchmark stuff into its own IDE folder diff --git a/SofaBenchmarkScenes/CMakeLists.txt b/SofaBenchmarkScenes/CMakeLists.txt index 764f2d9..02ce842 100644 --- a/SofaBenchmarkScenes/CMakeLists.txt +++ b/SofaBenchmarkScenes/CMakeLists.txt @@ -3,6 +3,7 @@ project(SofaBenchmarkScenes) sofa_find_package(Sofa.Simulation.Graph REQUIRED) sofa_find_package(Sofa.Component REQUIRED) +sofa_find_package(Sofa.SimpleApi REQUIRED) set(SOFABENCHMARKSCENES_SRC "src") @@ -24,7 +25,7 @@ set(SOURCE_FILES add_executable(${PROJECT_NAME} ${SOURCE_FILES} ${HEADER_FILES}) target_link_libraries(${PROJECT_NAME} PUBLIC benchmark::benchmark) -target_link_libraries(${PROJECT_NAME} PUBLIC Sofa.Simulation.Graph Sofa.Component) +target_link_libraries(${PROJECT_NAME} PUBLIC Sofa.Simulation.Graph Sofa.Component Sofa.SimpleApi) target_include_directories(${PROJECT_NAME} PUBLIC ${SOFABENCHMARKSCENES_SRC}) # regroup benchmark stuff into its own IDE folder diff --git a/SofaBenchmarkScenes/src/SofaBenchmarkScenes/BenchScene.h b/SofaBenchmarkScenes/src/SofaBenchmarkScenes/BenchScene.h index 629d8f0..1b8bae0 100644 --- a/SofaBenchmarkScenes/src/SofaBenchmarkScenes/BenchScene.h +++ b/SofaBenchmarkScenes/src/SofaBenchmarkScenes/BenchScene.h @@ -5,7 +5,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/benchmarks/Sofa.Component.SolidMechanics.FEM.Elastic/HexahedronFEMForceField_benchmark.cpp b/src/benchmarks/Sofa.Component.SolidMechanics.FEM.Elastic/HexahedronFEMForceField_benchmark.cpp index faa1461..4def37b 100644 --- a/src/benchmarks/Sofa.Component.SolidMechanics.FEM.Elastic/HexahedronFEMForceField_benchmark.cpp +++ b/src/benchmarks/Sofa.Component.SolidMechanics.FEM.Elastic/HexahedronFEMForceField_benchmark.cpp @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/benchmarks/Sofa.Component.SolidMechanics.FEM.Elastic/TetrahedronFEMForceField_benchmark.cpp b/src/benchmarks/Sofa.Component.SolidMechanics.FEM.Elastic/TetrahedronFEMForceField_benchmark.cpp index f1f4341..2543546 100644 --- a/src/benchmarks/Sofa.Component.SolidMechanics.FEM.Elastic/TetrahedronFEMForceField_benchmark.cpp +++ b/src/benchmarks/Sofa.Component.SolidMechanics.FEM.Elastic/TetrahedronFEMForceField_benchmark.cpp @@ -3,7 +3,7 @@ #include #include #include -#include +#include #include #include