mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
make sure rs_webui cannot be enabled without rs_jsonapi
This commit is contained in:
parent
9a24af87a4
commit
887e3ad394
@ -29,6 +29,12 @@ rs_jsonapi:isEmpty(JSONAPI_GENERATOR_EXE) {
|
||||
libretroshare.depends += jsonapi-generator
|
||||
}
|
||||
|
||||
rs_webui {
|
||||
!rs_jsonapi {
|
||||
error("rs_webui requires rs_jsonapi")
|
||||
}
|
||||
}
|
||||
|
||||
SUBDIRS += libbitdht
|
||||
libbitdht.file = libbitdht/src/libbitdht.pro
|
||||
libretroshare.depends += openpgpsdk libbitdht
|
||||
|
@ -180,10 +180,10 @@ rs_use_native_dialogs:CONFIG -= no_rs_use_native_dialogs
|
||||
CONFIG *= rs_broadcast_discovery
|
||||
no_rs_broadcast_discovery:CONFIG -= rs_broadcast_discovery
|
||||
|
||||
# To disable webui append the following assignation to qmake
|
||||
# command line "CONFIG+=rs_no_webui"
|
||||
CONFIG *= rs_webui
|
||||
rs_no_webui:CONFIG -= rs_webui
|
||||
# To enable webui append the following assignation to qmake
|
||||
# command line "CONFIG+=rs_webui"
|
||||
CONFIG *= rs_no_webui
|
||||
rs_webui:CONFIG -= rs_no_webui
|
||||
|
||||
# To enable webui append the following assignation to qmake
|
||||
# command line "CONFIG+=rs_service_webui_terminal_password"
|
||||
|
Loading…
Reference in New Issue
Block a user