diff options
author | Paweł Bylica <chfast@gmail.com> | 2017-08-22 02:42:06 +0800 |
---|---|---|
committer | Paweł Bylica <chfast@gmail.com> | 2017-08-22 02:42:06 +0800 |
commit | 0dc73913e1b72e89ffdbf05592798d4bbfbf1714 (patch) | |
tree | ede9751792d7b781d40ac33c9bff5223a6b19acc | |
parent | fa534946262ca4a13c94a9ef012c0af014827871 (diff) | |
download | dexon-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.cmake | 2 |
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) |