CMP0051
CMP0051
List TARGET_OBJECTS in SOURCES target property.
CMake 3.0 and lower did not include the TARGET_OBJECTS
generator expression
when returning the SOURCES
target property.
Configure-time CMake code is not able to handle generator expressions. If using the SOURCES
target property at configure time, it may be necessary to first remove generator expressions using the <