Fix finding libbfd on newer Debian

syncer-move-dates
Vitaliy Filippov 2015-12-09 01:41:04 +03:00
parent 41bf5ba845
commit cc13b8b343
1 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
find_library( DL_LIBRARY NAMES dl PATH /usr/lib /usr/lib64 )
find_library( BFD_LIBRARY NAMES bfd PATH /usr/lib /usr/lib64 )
find_library( DL_LIBRARY NAMES dl PATH ${CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES} )
find_library( BFD_LIBRARY NAMES bfd PATH ${CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES} )
if ( DL_LIBRARY AND BFD_LIBRARY )
set( BFD_FOUND TRUE )
@ -9,5 +9,4 @@ if ( BFD_FOUND )
message( STATUS "Found libbfd: ${BFD_LIBRARY}")
endif ( BFD_FOUND )