Skip to content

Commit

Permalink
CMake: Enable C++11 for libninja-re2c, too, fix #2520
Browse files Browse the repository at this point in the history
  • Loading branch information
jhasse committed Nov 7, 2024
1 parent aa62901 commit bc31ad0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bc31ad0

Please sign in to comment.