mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-09 08:15:33 +01:00
enh(cmake): Add option POCO_ENABLE_CPP20 to enable C++20 when compiling Poco (#4956)
* enh(cmake): Add option POCO_CXX20 to enable standard C++20 and related changes. * chore(cmake): do not allow C++20 setting for compilers that do not support it properly. * fix(NetSSL_Win): indentation.
This commit is contained in:
@@ -186,6 +186,8 @@
|
||||
#endif
|
||||
|
||||
#define POCO_HAVE_CPP17_COMPILER (__cplusplus >= 201703L)
|
||||
#define POCO_HAVE_CPP20_COMPILER (__cplusplus >= 202002L)
|
||||
#define POCO_HAVE_CPP23_COMPILER (__cplusplus >= 202302L)
|
||||
|
||||
// Option to silence deprecation warnings.
|
||||
#ifndef POCO_SILENCE_DEPRECATED
|
||||
|
||||
Reference in New Issue
Block a user