mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -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
268 B
Plaintext
9 lines
268 B
Plaintext
CMake Error at NotObjlibTarget.cmake:3 \(file\):
|
|
Error evaluating generator expression:
|
|
|
|
\$<TARGET_OBJECTS:StaticLib>
|
|
|
|
Objects of target "StaticLib" referenced but is not an OBJECT library.
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|