From 0d003c9a515c86e8e9c69bf4493aa471e90a4286 Mon Sep 17 00:00:00 2001 From: BenDr0id Date: Mon, 16 Apr 2018 15:59:30 +0200 Subject: [PATCH] For boost we always use static binaries --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d406fd28..71eab7c4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,9 @@ option(WITH_TLS "TLS support" ON) set(MINER_EXECUTABLE_NAME "xmrigMiner" CACHE STRING "Miner executable file name") set(DAEMON_EXECUTABLE_NAME "xmrigDaemon" CACHE STRING "Daemon executable file name") +set(Boost_USE_STATIC_RUNTIME ON) +set(Boost_USE_STATIC_LIBS ON) + include (CheckIncludeFile) include (cmake/cpu.cmake)