Attempt to fix compilation on BSD
This commit is contained in:
parent
da0369492e
commit
7079d70e8b
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue