From: 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-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8dc5cdcbc26525341ce7e51884c9cfc5248dd99;p=dealii-svn.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()