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)