cmake/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target-stderr.txt

12 lines
462 B
Plaintext
Raw Normal View History

2021-09-14 00:13:48 +02:00
CMake Error at add_custom_target.cmake:2 \(add_custom_target\):
2019-11-11 23:01:05 +01:00
Error evaluating generator expression:
\$<COMPILE_LANG_AND_ID:LANG,ID>
\$<COMPILE_LANG_AND_ID:lang,id> may only be used with binary targets to
specify include directories, compile definitions, and compile options. It
may not be used with the add_custom_command, add_custom_target, or
file\(GENERATE\) commands.
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)