cmake c++ version code example
Example 1: cmake version comand
cmake --version
Example 2: cmake define standard c++
set_property(TARGET [target] PROPERTY CXX_STANDARD [c++ version])
cmake --version
set_property(TARGET [target] PROPERTY CXX_STANDARD [c++ version])