mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-25 03:00:30 +02:00
Merge pull request #2684
c765bbb
build: define Boost_USE_STATIC_RUNTIME for static builds (xiphon)
This commit is contained in:
commit
525822f391
@ -86,6 +86,7 @@ endif()
|
|||||||
if(STATIC)
|
if(STATIC)
|
||||||
message(STATUS "Initiating static build")
|
message(STATUS "Initiating static build")
|
||||||
set(Boost_USE_STATIC_LIBS ON)
|
set(Boost_USE_STATIC_LIBS ON)
|
||||||
|
set(Boost_USE_STATIC_RUNTIME ON)
|
||||||
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
|
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
|
||||||
add_definitions(-DMONERO_GUI_STATIC)
|
add_definitions(-DMONERO_GUI_STATIC)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user