diff options
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 529b2730..1bdd6a04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,8 +84,9 @@ if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug") endif() if(STATIC) - message(STATUS "Initiating static build") - set(Boost_USE_STATIC_LIBS ON) + message(STATUS "Initiating static build") + set(Boost_USE_STATIC_LIBS ON) + set(Boost_USE_STATIC_RUNTIME ON) set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") add_definitions(-DMONERO_GUI_STATIC) endif() |
