Now that we're targeting platforms with cmake-3.16+ available, we should use target_compile_features with cxx_std_## instead of set(CMAKE_CXX_STANDARD ##). Using target_compile_features helps downstream packages to identify the minimum standard that their compiler needs to support.
Now that we're targeting platforms with cmake-3.16+ available, we should use
target_compile_features
withcxx_std_##
instead ofset(CMAKE_CXX_STANDARD ##)
. Usingtarget_compile_features
helps downstream packages to identify the minimum standard that their compiler needs to support.