From b0a4926a1e724e231d1c0a8596c2b51ecade1a86 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Thu, 1 Oct 2015 09:43:15 +0200 Subject: [PATCH] Added eigen dependency on AssemblerLib. --- AssemblerLib/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AssemblerLib/CMakeLists.txt b/AssemblerLib/CMakeLists.txt index 98f33682244..ff62c445190 100644 --- a/AssemblerLib/CMakeLists.txt +++ b/AssemblerLib/CMakeLists.txt @@ -9,6 +9,9 @@ target_link_libraries(AssemblerLib INTERFACE MeshLib ) +if(TARGET Eigen) + add_dependencies(AssemblerLib Eigen) +endif() if(TARGET Boost) add_dependencies(AssemblerLib Boost) endif() -- GitLab