diff --git a/MathLib/CMakeLists.txt b/MathLib/CMakeLists.txt
index 86095a2f16a2454459faa7b70e4f13b3a4fd7634..37b5dc608131aff9ebc97c6e69f2d5df0f2b65dd 100644
--- a/MathLib/CMakeLists.txt
+++ b/MathLib/CMakeLists.txt
@@ -49,6 +49,10 @@ add_library(MathLib STATIC ${SOURCES})
 
 set_target_properties(MathLib PROPERTIES LINKER_LANGUAGE CXX)
 
+target_link_libraries(MathLib
+    BaseLib
+)
+
 if (CVODE_FOUND)
     target_link_libraries(MathLib ${CVODE_LIBRARIES})
 endif()