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)