aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/CMakeLists.txt
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-31 11:14:20 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-12-31 11:14:20 +0000
commiteb39a3d7d3aaa8f5660f45e3d66ae21c5029afd8 (patch)
treeff0f113fd715725674d15e5ad84e9920ef4a5b25 /src/wallet/api/CMakeLists.txt
parentMerge pull request #2955 (diff)
downloadmonero-eb39a3d7d3aaa8f5660f45e3d66ae21c5029afd8.tar.xz
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
Diffstat (limited to 'src/wallet/api/CMakeLists.txt')
-rw-r--r--src/wallet/api/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/api/CMakeLists.txt b/src/wallet/api/CMakeLists.txt
index 26127b75c..60d6970bd 100644
--- a/src/wallet/api/CMakeLists.txt
+++ b/src/wallet/api/CMakeLists.txt
@@ -78,6 +78,8 @@ target_link_libraries(wallet_api
PRIVATE
${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)
set(lib_folder lib-${ARCH})