mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 21:57:46 +00:00
Force CMake to link the runtime statically
This commit is contained in:
parent
ceb6977f82
commit
f64a68e7cc
1 changed files with 4 additions and 0 deletions
|
@ -73,4 +73,8 @@ add_dependencies(simplewallet version)
|
||||||
|
|
||||||
set_property(TARGET common crypto cryptonote_core rpc wallet PROPERTY FOLDER "libs")
|
set_property(TARGET common crypto cryptonote_core rpc wallet PROPERTY FOLDER "libs")
|
||||||
set_property(TARGET daemon simplewallet connectivity_tool simpleminer PROPERTY FOLDER "prog")
|
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")
|
set_property(TARGET daemon PROPERTY OUTPUT_NAME "bitmonerod")
|
||||||
|
|
Loading…
Reference in a new issue