diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 4535f9fc..88fbee06 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -81,7 +81,7 @@ if (USE_PNG_SAVE AND NOT USE_SDL2_LIBS) target_sources(CommonFiles PRIVATE savepng.cpp savepng.h) endif() -target_compile_features(CommonFiles PUBLIC cxx_std_11) +target_compile_features(CommonFiles PUBLIC cxx_std_14) if (USE_SDL2_LIBS)