mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-16 00:53:58 -05:00
make sure rs_webui cannot be enabled without rs_jsonapi
This commit is contained in:
parent
9a24af87a4
commit
887e3ad394
2 changed files with 10 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue