diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3292e9cf6..62f44dacb 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -62,7 +62,7 @@ add_dependencies(MATH FEsolving) list(APPEND OBJECTFILES $) add_library(MESH_BASE OBJECT "mesh_base.f90") -add_dependencies(MESH_BASE MATH) +add_dependencies(MESH_BASE MATH ELEMENT) list(APPEND OBJECTFILES $) # SPECTRAL solver and FEM solver use different mesh files