I can set the variable CMAKE_CXX_STANDARD like this
set(CMAKE_CXX_STANDARD 17)
but I can't print it like this
message("This is the C++ Standard we are using: ${CMAKE_CXX_STANDARD}")
I guess the variable CMAKE_CXX_STANDARD doesn't exist by default unless explicitly specified.
In such case, how is the default C++ Standard determined?