3c37d2642d
Since support for generator expressions was added to OUTPUT_NAME it is possible for project code to cause recursion in this method by using a $<TARGET_FILE> genex. Detect and reject such cases.
5 lines
189 B
Plaintext
5 lines
189 B
Plaintext
CMake Error at OUTPUT_NAME-recursion.cmake:[0-9]+ \(add_executable\):
|
|
Target 'empty1' OUTPUT_NAME depends on itself.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|