hooks icon indicating copy to clipboard operation
hooks copied to clipboard

Check CMake version when using `cxx_std_##`

Open prince-chrismc opened this issue 4 years ago • 1 comments

Setting are not correctly set when the attribute keys are not supported.

  • cxx_std_20 is cmake_minimum_required(VERSION 3.12)
  • cxx_std_17 needs 3.8

Originally posted by @prince-chrismc in https://github.com/conan-io/conan-center-index/pull/5986#discussion_r654804316

prince-chrismc avatar Jun 19 '21 20:06 prince-chrismc

Actually, cxx_std_<something> needs at least 3.8, even cxx_std_11

SpaceIm avatar Jul 21 '21 11:07 SpaceIm