Merge pull request #2684

c765bbb build: define Boost_USE_STATIC_RUNTIME for static builds (xiphon)
This commit is contained in:
luigi1111 2020-01-02 10:47:44 -05:00
commit 525822f391
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -86,6 +86,7 @@ endif()
if(STATIC)
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()