From bc31ad05200386cbe48eb76ace61b6d6d02986c8 Mon Sep 17 00:00:00 2001 From: Jan Niklas Hasse Date: Thu, 7 Nov 2024 22:36:03 +0100 Subject: [PATCH] CMake: Enable C++11 for libninja-re2c, too, fix #2520 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7330803427..881dd54ff9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -187,6 +187,7 @@ else() endif() target_compile_features(libninja PUBLIC cxx_std_11) +target_compile_features(libninja-re2c PUBLIC cxx_std_11) #Fixes GetActiveProcessorCount on MinGW if(MINGW)