mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #1700
73785263
backtrace_symbols() requires -lexecinfo on dragonflybsd (Dan Miller)
This commit is contained in:
commit
c64e10c2d7
@ -608,11 +608,13 @@ endif()
|
|||||||
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
|
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
|
||||||
if(MINGW)
|
if(MINGW)
|
||||||
set(EXTRA_LIBRARIES mswsock;ws2_32;iphlpapi)
|
set(EXTRA_LIBRARIES mswsock;ws2_32;iphlpapi)
|
||||||
elseif(APPLE OR FREEBSD OR OPENBSD OR ANDROID)
|
elseif(APPLE OR OPENBSD OR ANDROID)
|
||||||
set(EXTRA_LIBRARIES "")
|
set(EXTRA_LIBRARIES "")
|
||||||
|
elseif(FREEBSD)
|
||||||
|
set(EXTRA_LIBRARIES execinfo)
|
||||||
elseif(DRAGONFLY)
|
elseif(DRAGONFLY)
|
||||||
find_library(COMPAT compat)
|
find_library(COMPAT compat)
|
||||||
set(EXTRA_LIBRARIES ${COMPAT})
|
set(EXTRA_LIBRARIES execinfo ${COMPAT})
|
||||||
elseif(NOT MSVC)
|
elseif(NOT MSVC)
|
||||||
find_library(RT rt)
|
find_library(RT rt)
|
||||||
set(EXTRA_LIBRARIES ${RT})
|
set(EXTRA_LIBRARIES ${RT})
|
||||||
|
Loading…
Reference in New Issue
Block a user