From bff52174976346549ede2023161aa9a00e98aadb Mon Sep 17 00:00:00 2001 From: Pascal Thomet Date: Tue, 21 May 2024 11:24:00 +0200 Subject: [PATCH] pnm: disable C++11 check (fails for no real reason) --- src/hello_imgui/internal/pnm.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/hello_imgui/internal/pnm.h b/src/hello_imgui/internal/pnm.h index ab91a5be..b7d0780f 100644 --- a/src/hello_imgui/internal/pnm.h +++ b/src/hello_imgui/internal/pnm.h @@ -27,9 +27,10 @@ #error "pnm++ is a library for C++." #endif -#if __cplusplus < 201103L -#error "pnm++ requires C++11 or later." -#endif +// Disabled because, for some reason, the C++11 check is failing although the main CMakelists.txt file specifies C++17 +//#if __cplusplus < 201103L +//#error "pnm++ requires C++11 or later." +//#endif #include #include