filipdutescu/modern-cpp-template

C++ version printed as blank ootb

vadi2 opened this issue · 2 comments

vadi2 commented

Getting this in the logs:

[cmake] -- Applied compiler warnings. Using standard .

vadi2 commented

This could be fixed with:

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

Using the latest published standard would make sense for a greenfield C++ project.

Awesome catch! Thanks for providing a solution as well. Will work to merge it in the next couple of weeks, alongside the other issues and create a release.