From a3f984e521a89fdb7193fc57902f071aaeb65f89 Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Thu, 24 Jun 2021 16:45:32 +0900 Subject: [PATCH] Add warning about build number and 4.x clients compatibilty See also: https://github.com/SoftEtherVPN/SoftEtherVPN/issues/1392#issuecomment-867348281 --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1445ee92..b9a2a616 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,14 @@ if ("${BUILD_NUMBER}" STREQUAL "") set(BUILD_NUMBER "0") endif() +if (BUILD_NUMBER LESS 5180) + message(WARNING + "Setting BUILD_NUMBER to the value less than 5180 will lose compatibility with " + "SoftEtherVPN Stable Edition 4.x. Set to a value greater than or equal to 5180 " + "if you are likely to connect from 4.x clients." + "\nSee also: https://github.com/SoftEtherVPN/SoftEtherVPN/issues/1392#issuecomment-867348281") +endif() + project("SoftEther VPN" VERSION "5.02.${BUILD_NUMBER}" LANGUAGES C