aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaweł Bylica <chfast@gmail.com>2017-08-22 02:42:06 +0800
committerPaweł Bylica <chfast@gmail.com>2017-08-22 02:42:06 +0800
commit0dc73913e1b72e89ffdbf05592798d4bbfbf1714 (patch)
treeede9751792d7b781d40ac33c9bff5223a6b19acc
parentfa534946262ca4a13c94a9ef012c0af014827871 (diff)
downloaddexon-solidity-0dc73913e1b72e89ffdbf05592798d4bbfbf1714.tar
dexon-solidity-0dc73913e1b72e89ffdbf05592798d4bbfbf1714.tar.gz
dexon-solidity-0dc73913e1b72e89ffdbf05592798d4bbfbf1714.tar.bz2
dexon-solidity-0dc73913e1b72e89ffdbf05592798d4bbfbf1714.tar.lz
dexon-solidity-0dc73913e1b72e89ffdbf05592798d4bbfbf1714.tar.xz
dexon-solidity-0dc73913e1b72e89ffdbf05592798d4bbfbf1714.tar.zst
dexon-solidity-0dc73913e1b72e89ffdbf05592798d4bbfbf1714.zip
CMake: Allow linking Boost dynamically
Make Boost_USE_STATIC_LIBS an CMake option, ON by default.
-rw-r--r--cmake/EthDependencies.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/EthDependencies.cmake b/cmake/EthDependencies.cmake
index 14037307..39ce060e 100644
--- a/cmake/EthDependencies.cmake
+++ b/cmake/EthDependencies.cmake
@@ -43,7 +43,7 @@ find_program(CTEST_COMMAND ctest)
## use multithreaded boost libraries, with -mt suffix
set(Boost_USE_MULTITHREADED ON)
-set(Boost_USE_STATIC_LIBS ON)
+option(Boost_USE_STATIC_LIBS "Link Boost statically" ON)
find_package(Boost 1.54.0 QUIET REQUIRED COMPONENTS regex filesystem unit_test_framework program_options)