Attempt to fix compilation on BSD

This commit is contained in:
o9000 2016-01-03 03:23:29 +01:00
parent da0369492e
commit 7079d70e8b

View file

@ -32,7 +32,7 @@ if(BACKTRACE_LIBC)
else()
pkg_check_modules( UNWIND libunwind )
find_library(EXECINFO_LIBRARIES NAMES execinfo)
if(EXECINFO_LIBRARIES_FOUND)
if(EXECINFO_LIBRARIES)
set(EXECINFO_FOUND TRUE)
set(EXECINFO_LIBRARIES "-lexecinfo")
set(BACKTRACE_L_FLAGS "-rdynamic")