summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0111/CMP0111-Common.cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmTarget: Add a way to represent imported shared library stubsRobert Maynard2023-07-181-3/+0
| | | | | | | | Shared library stubs can be used for linking, but not at runtime. Their role is similar to import libraries on Windows, so represent their location with the `IMPORTED_IMPLIB` target property. Fixes: #24940
* cmTarget: Do not enforce CMP0111 on imported INTERFACE librariesBrad King2020-11-231-2/+3
| | | | | | | | Fix logic added by commit 359c500a24 (cmTarget: Raise error if imported target location is not set, 2020-08-08, v3.19.0-rc1~273^2) to exclude INTERFACE libraries from the policy. They have no location. Fixes: #21470
* cmTarget: Raise error if imported target location is not setRaul Tambre2020-08-211-0/+9
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.