title: cmake target_compile_features C++17
body: <p>Adhering to the best practice for modern CMake I want to use this command instead of flags or set-based commands. However, I cant seem to make it work, since I cannot find associated commands for the newly introduced C++17 features. For C++14 I can do something along the following lines</p>
  
  <pre><code>target_compile_features(Foo
    PUBLIC
      cxx_strong_enums
    PRIVATE
      cxx_lambdas
  )
  </code></pre>
  
  <p>I guess what I am asking is, what is the proper way to enable the latest standard of C++ in cmake without resorting back to legacy cmake</p>