From e9e3e385b470a4e12853bcc30af3373f940951e2 Mon Sep 17 00:00:00 2001 From: Norihiro Watanabe <norihiro.watanabe@ufz.de> Date: Sat, 21 May 2016 17:40:26 +0200 Subject: [PATCH] MathLib depends on BaseLib --- MathLib/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MathLib/CMakeLists.txt b/MathLib/CMakeLists.txt index 86095a2f16a..37b5dc60813 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() -- GitLab