mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
wallet_api: make this optional but not built by default
It means it can still be built with make -C build/debug wallet_api but still not DoS us while debugging
This commit is contained in:
parent
a0a8706946
commit
eb39a3d7d3
2 changed files with 4 additions and 2 deletions
|
@ -126,6 +126,6 @@ if (BUILD_GUI_DEPS)
|
||||||
endif()
|
endif()
|
||||||
install(TARGETS wallet_merged
|
install(TARGETS wallet_merged
|
||||||
ARCHIVE DESTINATION ${lib_folder})
|
ARCHIVE DESTINATION ${lib_folder})
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(api)
|
add_subdirectory(api)
|
||||||
endif()
|
|
||||||
|
|
|
@ -78,6 +78,8 @@ target_link_libraries(wallet_api
|
||||||
PRIVATE
|
PRIVATE
|
||||||
${EXTRA_LIBRARIES})
|
${EXTRA_LIBRARIES})
|
||||||
|
|
||||||
|
set_property(TARGET wallet_api PROPERTY EXCLUDE_FROM_ALL TRUE)
|
||||||
|
set_property(TARGET obj_wallet_api PROPERTY EXCLUDE_FROM_ALL TRUE)
|
||||||
|
|
||||||
if(IOS)
|
if(IOS)
|
||||||
set(lib_folder lib-${ARCH})
|
set(lib_folder lib-${ARCH})
|
||||||
|
|
Loading…
Reference in a new issue