[cmake] add warning about MESHNET option

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2022-02-16 11:39:09 +03:00
parent 05c1856389
commit dceb0fb8c5
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -263,6 +263,10 @@ message(STATUS " ADDRSANITIZER : ${WITH_ADDRSANITIZER}")
message(STATUS " THREADSANITIZER : ${WITH_THREADSANITIZER}")
message(STATUS "---------------------------------------")
if(WITH_MESHNET)
message(STATUS "WARNING: Using the MESHNET option will make it impossible to use the application with the main network!!!")
endif()
if(WITH_BINARY)
add_executable("${PROJECT_NAME}" ${DAEMON_SRC})