StaConfig.hh pass HAVE_CXX_STD_FORMAT
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
f4048cdf3e
commit
c38762185c
|
|
@ -35,10 +35,7 @@
|
|||
#include <zlib.h>
|
||||
#endif
|
||||
|
||||
// std::format is not supported in GCC 11 (e.g. Ubuntu 22.04).
|
||||
// Use fmt library as fallback when __cpp_lib_format is not defined.
|
||||
|
||||
#if defined(__cpp_lib_format) && __cpp_lib_format >= 201907L
|
||||
#if HAVE_CXX_STD_FORMAT
|
||||
#include <format>
|
||||
|
||||
namespace sta {
|
||||
|
|
|
|||
|
|
@ -6,4 +6,6 @@
|
|||
|
||||
#cmakedefine ZLIB_FOUND
|
||||
|
||||
#cmakedefine01 HAVE_CXX_STD_FORMAT
|
||||
|
||||
#define TCL_READLINE ${TCL_READLINE}
|
||||
|
|
|
|||
Loading…
Reference in New Issue