From: Matthias Maier <tamiko@43-1.org>
Date: Wed, 14 Oct 2015 20:18:26 +0000 (-0500)
Subject: CMake: Update list of system libraries
X-Git-Tag: v8.4.0-rc2~306^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1757%2Fhead;p=dealii.git

CMake: Update list of system libraries
---

diff --git a/cmake/macros/macro_filter_system_libraries.cmake b/cmake/macros/macro_filter_system_libraries.cmake
index da32a2aed4..c6b851f437 100644
--- a/cmake/macros/macro_filter_system_libraries.cmake
+++ b/cmake/macros/macro_filter_system_libraries.cmake
@@ -32,7 +32,7 @@ MACRO(FILTER_SYSTEM_LIBRARIES _feature)
       SET(_tmp_${_variable} ${${_variable}})
       SET(${_variable} "")
       FOREACH(_lib ${_tmp_${_variable}})
-        IF(_lib MATCHES "lib(c|quadmath|gfortran|m|rt|nsl|dl|pthread)\\.(a|so)$")
+        IF(_lib MATCHES "lib(bfd|c|dl|gfortran|iberty|m|nsl|opcodes|pthread|quadmath|rt)\\.(a|so)$")
           string(REGEX REPLACE ".*lib([a-z]+).so$" "\\1" _lib ${_lib})
         ENDIF()
         LIST(APPEND ${_variable} ${_lib})