COMPILE_LANGUAGE-add_custom_command-stderr.txt 399 B

12345678910
  1. CMake Error at COMPILE_LANGUAGE-add_custom_command.cmake:6 \(add_custom_command\):
  2. Error evaluating generator expression:
  3. \$<COMPILE_LANGUAGE>
  4. \$<COMPILE_LANGUAGE:...> may only be used to specify include directories,
  5. compile definitions, compile options, and to evaluate components of the
  6. file\(GENERATE\) command.
  7. Call Stack \(most recent call first\):
  8. CMakeLists.txt:3 \(include\)