Files
CMake/Help/release/dev/imported-target-location-required.rst
T
Raul Tambre 359c500a24 cmTarget: Raise error if imported target location is not set
Previously we would synthesize <TARGET_NAME>-NOTFOUND as the location. This
would then end up on the link line and cause build failures.
Policy CMP0110 is added to control this behaviour.

Fixes #19080, #19943.
2020-08-21 08:38:39 -04:00

6 lines
200 B
ReStructuredText

imported-target-location-required
---------------------------------
* An imported target with a missing location now fails during generation if the
location is used. See policy :policy:`CMP0111`.