summaryrefslogtreecommitdiffstats
path: root/Tests/FindPython/Python3Module
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2024-04-14 08:07:41 (GMT)
committerBrad King <brad.king@kitware.com>2024-04-19 15:44:09 (GMT)
commitc5231ba29e47101b772572f730af5b2bc82fbd53 (patch)
tree450618966f266499ba95aac1f7496411f01cad21 /Tests/FindPython/Python3Module
parent8ac7958e3a2d24258cc4ebf0d6c44eccfb8a849a (diff)
downloadCMake-c5231ba29e47101b772572f730af5b2bc82fbd53.zip
CMake-c5231ba29e47101b772572f730af5b2bc82fbd53.tar.gz
CMake-c5231ba29e47101b772572f730af5b2bc82fbd53.tar.bz2
find_package: Save/restore PACKAGE_PREFIX_DIR
Package configuration files generated by `configure_package_config_file` set this variable in `@PACKAGE_INIT@` and then use it later. There may be intervening calls to `find_package`, e.g., via `find_dependency`. If the loaded package also used `configure_package_config_file`, it may change the value of `PACKAGE_PREFIX_DIR`. Explicitly save and restore the value to avoid this. Fixes: #25827
Diffstat (limited to 'Tests/FindPython/Python3Module')
0 files changed, 0 insertions, 0 deletions