COMPILE_LANG_AND_ID-add_test-stderr.txt 464 B

1234567891011
  1. CMake Error at COMPILE_LANG_AND_ID-add_test.cmake:5 \(add_test\):
  2. Error evaluating generator expression:
  3. \$<COMPILE_LANG_AND_ID:CXX,GNU>
  4. \$<COMPILE_LANG_AND_ID:lang,id> may only be used with binary targets to
  5. specify include directories, compile definitions, and compile options. It
  6. may not be used with the add_custom_command, add_custom_target, or
  7. file\(GENERATE\) commands.
  8. Call Stack \(most recent call first\):
  9. CMakeLists.txt:3 \(include\)