From 08287f0933f13818106a88227dd919c950a37ec9 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 30 Sep 2013 20:20:35 +0000 Subject: [PATCH] Bugfix: Link in Intel support libraries dynamically (when not building a static executable) git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@31044 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/setup_compiler_flags_intel.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deal.II/cmake/setup_compiler_flags_intel.cmake b/deal.II/cmake/setup_compiler_flags_intel.cmake index ed67d96ad3..e591bf6699 100644 --- a/deal.II/cmake/setup_compiler_flags_intel.cmake +++ b/deal.II/cmake/setup_compiler_flags_intel.cmake @@ -91,6 +91,11 @@ IF(DEAL_II_STATIC_EXECUTABLE) ENABLE_IF_SUPPORTED(DEAL_II_LINKER_FLAGS "-static-intel") ENABLE_IF_SUPPORTED(DEAL_II_LINKER_FLAGS "-static-gcc") ENABLE_IF_SUPPORTED(DEAL_II_LINKER_FLAGS "-pthread") +ELSE() + # + # Explicitly link intel support libraries dynamically: + # + ENABLE_IF_SUPPORTED(DEAL_II_LINKER_FLAGS "-shared-intel") ENDIF() -- 2.39.5