COMPILE_ONLY-not-compiling-stderr.txt 269 B

12345678
  1. CMake Error at COMPILE_ONLY-not-compiling.cmake:1 \(add_custom_target\):
  2. Error evaluating generator expression:
  3. \$<COMPILE_ONLY:something>
  4. \$<COMPILE_ONLY:...> may only be used for linking
  5. Call Stack \(most recent call first\):
  6. CMakeLists.txt:3 \(include\)