From 14aa9411a6bf6123963a608d73d13832cd74e284 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 14 Oct 2015 15:18:26 -0500 Subject: [PATCH] CMake: Update list of system libraries --- cmake/macros/macro_filter_system_libraries.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) -- 2.39.5