mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-12 01:59:43 -06:00
Move the diagnostic that rejects the TARGET_OBJECTS generator expression in non-buildsystem context until after the check for whether the named target is an object library. This order will makes more sense than the previous order once TARGET_OBJECTS is allowed in non-buildsystem context.
9 lines
275 B
Plaintext
9 lines
275 B
Plaintext
CMake Error at OutputNameMatchesObjects.cmake:[0-9]+ \(file\):
|
|
Error evaluating generator expression:
|
|
|
|
\$<TARGET_OBJECTS:foo>
|
|
|
|
Objects of target "foo" referenced but is not an OBJECT library.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:[0-9]+ \(include\)
|