diff --git a/src/SofaViscoElastic/TetrahedronViscoelasticityFEMForceField.h b/src/SofaViscoElastic/TetrahedronViscoelasticityFEMForceField.h index e92d719..df7fdd6 100644 --- a/src/SofaViscoElastic/TetrahedronViscoelasticityFEMForceField.h +++ b/src/SofaViscoElastic/TetrahedronViscoelasticityFEMForceField.h @@ -207,7 +207,7 @@ class TetrahedronViscoelasticityFEMForceField : public core::behavior::ForceFiel }; -#if !defined(SOFA_COMPONENT_FORCEFIELD_TetrahedronViscoelasticityFEMForceField_CPP) +#if !defined(SOFA_COMPONENT_FORCEFIELD_TETRAHEDRONVISCOELASTICITYFEMFORCEFIELD_CPP) extern template class SOFAVISCOELASTIC_API TetrahedronViscoelasticityFEMForceField; #endif // !defined(SOFA_COMPONENT_FORCEFIELD_TetrahedronViscoelasticityFEMForceField_CPP) diff --git a/src/SofaViscoElastic/config.h.in b/src/SofaViscoElastic/config.h.in index 1e4e063..72eda98 100644 --- a/src/SofaViscoElastic/config.h.in +++ b/src/SofaViscoElastic/config.h.in @@ -36,7 +36,7 @@ #include #include -#ifdef SOFA_BUILD_SOFA_COMPONENT_SOLIDMECHANICS_FEM_VISCOELASTIC +#ifdef SOFA_BUILD_SOFAVISCOELASTIC # define SOFA_TARGET @PROJECT_NAME@ # define SOFAVISCOELASTIC_API SOFA_EXPORT_DYNAMIC_LIBRARY #else