[BUG][C++][Pistache] Generated CMakeLists.txt sets compiler flag c++11 but should set c++14 #4378
Closed
4 of 6 tasks
Labels
Milestone
Bug Report Checklist
Description
The cpp-pistache-server generator generates a CMakeLists.txt file that sets c++11 compiler flag. As pistache do not supports c++11 anymore it should be changed to c++14.
openapi-generator version
4.2.0
OpenAPI declaration file content or url
Command line used for generation
openapi-generator generate -g cpp-pistache-server -i API_SPEC.yaml -o .\src -Dapis=TAG -Dmodels -DsupportingFiles
Steps to reproduce
Generate the cpp-pistache-server sources by executing the command line mentioned above.
Related issues/PRs
Suggest a fix
Change compiler flag from c++11 to c++14.
The text was updated successfully, but these errors were encountered: