Replaced setting CMAKE_CXX_STANDARD and CMAKE_CXX_STANDARD_REQUIRED with set_target_properties to avoid unintentionally affecting top level consuming projects.
This seems like it's the more modern way of setting the version so as to not affect the global C++ settings in a consuming project.
CMAKE_CXX_STANDARD
andCMAKE_CXX_STANDARD_REQUIRED
withset_target_properties
to avoid unintentionally affecting top level consuming projects.This seems like it's the more modern way of setting the version so as to not affect the global C++ settings in a consuming project.