aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-10-06 21:17:31 +0200
committerRiccardo Spagni <ric@spagni.net>2014-10-06 21:17:31 +0200
commitb05e27f8b1be83287441f82cb2f19a37aed2c1b6 (patch)
treeccda524dcb3c7730e3343bb480bc9c927a4908ea
parente55982a892563be91e9d6f14d3dfe95d952ff2e5 (diff)
downloadmonzero-core-b05e27f8b1be83287441f82cb2f19a37aed2c1b6.tar.gz
monzero-core-b05e27f8b1be83287441f82cb2f19a37aed2c1b6.tar.xz
monzero-core-b05e27f8b1be83287441f82cb2f19a37aed2c1b6.zip
need to link with -ldl on Linux when building statically
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 633a5e8d2..6db1a723d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -217,6 +217,7 @@ if(MINGW)
elseif(APPLE OR FREEBSD)
set(Boost_LIBRARIES "${Boost_LIBRARIES}")
elseif(NOT MSVC)
+ set(Boost_LIBRARIES "${Boost_LIBRARIES};ld")
#set(Boost_LIBRARIES "${Boost_LIBRARIES};rt;pthread")
endif()