Skip to content

Commit 3586eb2

Browse files
bakpaulhugtalbot
andauthored
[CMake] Add SofaViscoElastic as a supported plugin (#5746)
* Add SofaViscoElastic in CMakeLists and supported-plugin preset * Remove unwanted duplication of comment * Update CMakeLists.txt --------- Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
1 parent 3b9bc58 commit 3586eb2

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CMakePresets.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,14 @@
167167
"type": "BOOL",
168168
"value": "ON"
169169
},
170+
"SOFA_FETCH_SOFAVISCOELASTIC": {
171+
"type": "BOOL",
172+
"value": "ON"
173+
},
174+
"PLUGIN_SOFAVISCOELASTIC": {
175+
"type": "BOOL",
176+
"value": "ON"
177+
},
170178
"PLUGIN_SOFAMATRIX": {
171179
"type": "BOOL",
172180
"value": "ON"

applications/plugins/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ sofa_add_external(plugin STLIB GIT_REF master GIT_REPOSITORY https://www.github.
4747
sofa_add_external(plugin SoftRobots GIT_REF master GIT_REPOSITORY https://www.github.com/SofaDefrost/SoftRobots.git)
4848
sofa_add_external(plugin SoftRobots.Inverse GIT_REF main GIT_REPOSITORY https://www.github.com/SofaDefrost/SoftRobots.Inverse.git)
4949
sofa_add_external(plugin Cosserat GIT_REF master GIT_REPOSITORY https://www.github.com/SofaDefrost/Cosserat.git) # Cosserat has an optional dependency on SoftRobots
50+
sofa_add_external(plugin SofaViscoElastic GIT_REF main GIT_REPOSITORY https://www.github.com/SofaDefrost/SofaViscoElastic.git)
5051
sofa_add_external(plugin CollisionAlgorithm GIT_REF master GIT_REPOSITORY https://forge.icube.unistra.fr/sofa/CollisionAlgorithm.git)
5152
sofa_add_external(plugin ConstraintGeometry GIT_REF master GIT_REPOSITORY https://forge.icube.unistra.fr/sofa/ConstraintGeometry.git)
5253
sofa_add_external(plugin ShapeMatchingPlugin GIT_REF master GIT_REPOSITORY https://www.github.com/sofa-framework/ShapeMatchingPlugin.git)

0 commit comments

Comments
 (0)