From 0dc73913e1b72e89ffdbf05592798d4bbfbf1714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Mon, 21 Aug 2017 20:42:06 +0200 Subject: CMake: Allow linking Boost dynamically Make Boost_USE_STATIC_LIBS an CMake option, ON by default. --- cmake/EthDependencies.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') 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) -- cgit v1.2.3