summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FindPython/FindPythonScript.cmake
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2026-01-09 13:15:54 (GMT)
committerCraig Scott <craig.scott@crascit.com>2026-01-09 13:26:55 (GMT)
commitc6a940761c664a2e776b3d6105b71afc10e218ce (patch)
treef07e73d67bcfa3d5975323b0b937b4bd5bffded9 /Tests/RunCMake/FindPython/FindPythonScript.cmake
parent7792c68838c438e2f438c2b3c2e17ad583b31f4a (diff)
downloadCMake-c6a940761c664a2e776b3d6105b71afc10e218ce.zip
CMake-c6a940761c664a2e776b3d6105b71afc10e218ce.tar.gz
CMake-c6a940761c664a2e776b3d6105b71afc10e218ce.tar.bz2
fileapi: Handle unused imported libraries with missing IMPORTED_IMPLIB
CMake 4.1 and earlier did not issue an error if an imported shared library target was missing an IMPORTED_IMPLIB property and nothing used that imported library. There was no code path checking for the CMP0111 NEW behavior. Since b626843d71 (fileAPI: Output all INTERFACE and IMPORTED targets, 2025-09-13), we now include all imported targets in the file API replies, and that does trigger that check. We need to tolerate such imported targets to preserve backward compatibility, and to avoid issuing errors for problems in targets likely to be coming from outside the project and beyond the developer's control. Fixes: #27496
Diffstat (limited to 'Tests/RunCMake/FindPython/FindPythonScript.cmake')
0 files changed, 0 insertions, 0 deletions