From: Matthias Maier Date: Mon, 30 Sep 2013 20:20:35 +0000 (+0000) Subject: Bugfix: Link in Intel support libraries dynamically (when not building a static execu... X-Git-Tag: v8.1.0~570^2~148 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08287f0933f13818106a88227dd919c950a37ec9;p=dealii.git 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 --- 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()