1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-28 00:23:44 +01:00

build: define Boost_USE_STATIC_RUNTIME for static builds

This commit is contained in:
xiphon 2019-12-24 11:19:00 +00:00
parent 43f378b7d2
commit c765bbb1fd

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()