Force CMake to link the runtime statically
This commit is contained in:
parent
ceb6977f82
commit
f64a68e7cc
|
@ -73,4 +73,8 @@ add_dependencies(simplewallet version)
|
|||
|
||||
set_property(TARGET common crypto cryptonote_core rpc wallet PROPERTY FOLDER "libs")
|
||||
set_property(TARGET daemon simplewallet connectivity_tool simpleminer PROPERTY FOLDER "prog")
|
||||
if (STATIC)
|
||||
set_property(TARGET daemon simplewallet connectivity_tool simpleminer PROPERTY LINK_SEARCH_START_STATIC 1)
|
||||
set_property(TARGET daemon simplewallet connectivity_tool simpleminer PROPERTY LINK_SEARCH_END_STATIC 1)
|
||||
endif()
|
||||
set_property(TARGET daemon PROPERTY OUTPUT_NAME "bitmonerod")
|
||||
|
|
Loading…
Reference in New Issue