diff options
| author | Matthew Woehlke <matthew.woehlke@kitware.com> | 2025-04-03 18:40:39 (GMT) |
|---|---|---|
| committer | Matthew Woehlke <matthew.woehlke@kitware.com> | 2025-04-03 18:40:39 (GMT) |
| commit | de5fa2ae53c75eccff75df9df7be84e2d8f51397 (patch) | |
| tree | 132d982cb1c145bceef31705edd5d99a06cfd859 /Tests/RunCMake/FindPython/Python3SABIModule.cmake | |
| parent | 3abb812218b127931ea650db9d030b61f07b03c3 (diff) | |
| download | CMake-de5fa2ae53c75eccff75df9df7be84e2d8f51397.zip CMake-de5fa2ae53c75eccff75df9df7be84e2d8f51397.tar.gz CMake-de5fa2ae53c75eccff75df9df7be84e2d8f51397.tar.bz2 | |
find_package: Improve support for CPS multiple inclusion
Keep track of CPS files we have imported in CMake's state, and use this
(instead of the prior, temporary work-around that used `<name>_CONFIG`)
as a guard for trying to import more than once from the same file. This
has two advantages; first, it is robust against finding the same package
name in different locations in alternating searches, and second, it
allows us to load additional appendices associated with a root package
that has already been loaded.
Fixes: #26731
Diffstat (limited to 'Tests/RunCMake/FindPython/Python3SABIModule.cmake')
0 files changed, 0 insertions, 0 deletions
