CMake/Tests/RunCMake/GeneratorExpression/NonValidTarget-CXX_COMPILER...

10 lines
343 B
Plaintext

CMake Error at NonValidTarget-CXX_COMPILER_ID.cmake:4 \(add_custom_command\):
Error evaluating generator expression:
\$<CXX_COMPILER_ID>
\$<CXX_COMPILER_ID> 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\)