aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-12 23:20:27 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-12 23:20:27 +0200
commitc64e10c2d7709c6ae2ebc1fd5e4e3440add7f47f (patch)
treeaba1adb4fab00f4dc357ea83c11aca68db60adee /CMakeLists.txt
parentMerge pull request #1699 (diff)
parentbacktrace_symbols() requires -lexecinfo on dragonflybsd (diff)
downloadmonero-c64e10c2d7709c6ae2ebc1fd5e4e3440add7f47f.tar.xz
Merge pull request #1700
73785263 backtrace_symbols() requires -lexecinfo on dragonflybsd (Dan Miller)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 54ee522e1..f59493345 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -608,11 +608,13 @@ endif()
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
if(MINGW)
set(EXTRA_LIBRARIES mswsock;ws2_32;iphlpapi)
-elseif(APPLE OR FREEBSD OR OPENBSD OR ANDROID)
+elseif(APPLE OR OPENBSD OR ANDROID)
set(EXTRA_LIBRARIES "")
+elseif(FREEBSD)
+ set(EXTRA_LIBRARIES execinfo)
elseif(DRAGONFLY)
find_library(COMPAT compat)
- set(EXTRA_LIBRARIES ${COMPAT})
+ set(EXTRA_LIBRARIES execinfo ${COMPAT})
elseif(NOT MSVC)
find_library(RT rt)
set(EXTRA_LIBRARIES ${RT})