From 749903e4dc33cda68ff281b3c4b40ff6557d4b69 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Mon, 28 Apr 2025 17:15:07 +0200 Subject: [PATCH] try to fix `error C2039: 'format_string': is not a member of 'std'` --- Installation/include/CGAL/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Installation/include/CGAL/config.h b/Installation/include/CGAL/config.h index f3c8845350e..dfc36694740 100644 --- a/Installation/include/CGAL/config.h +++ b/Installation/include/CGAL/config.h @@ -506,7 +506,7 @@ namespace cpp11{ # define CGAL_FALLTHROUGH while(false){} #endif -#if __cpp_lib_format >= 201907L +#if CGAL_CXX20 && __cpp_lib_format >= 201907L # define CGAL_CAN_USE_CXX20_FORMAT 1 #endif