CMake Error at NonValidTarget2.cmake:4 \(add_custom_target\):
  Error evaluating generator expression:

    \$<COMPILE_FEATURES:cxx_final>

  \$<COMPILE_FEATURE> may only be used with binary targets.  It may not be
  used with add_custom_command or add_custom_target.
Call Stack \(most recent call first\):
  CMakeLists.txt:3 \(include\)
