summaryrefslogtreecommitdiffstats
path: root/Tests/FindPython/Python3Module
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2024-09-17 22:45:01 (GMT)
committerCraig Scott <craig.scott@crascit.com>2024-09-19 10:31:47 (GMT)
commit6a1fac14505619dfea26ca6a3020eb0b6b409557 (patch)
tree52fddb6d738997dfef88c4172f15d9e1206ee031 /Tests/FindPython/Python3Module
parent2184fcfb006691a6ecf79762b4ce3c6b93266ab6 (diff)
downloadCMake-6a1fac14505619dfea26ca6a3020eb0b6b409557.zip
CMake-6a1fac14505619dfea26ca6a3020eb0b6b409557.tar.gz
CMake-6a1fac14505619dfea26ca6a3020eb0b6b409557.tar.bz2
install: Normalize DESTINATION paths
The file generated by install(EXPORT) computes _IMPORT_PREFIX in a way that assumes a normalized path. If the DESTINATION contains any ../ components, the computed _IMPORT_PREFIX would be wrong. Force the DESTINATION path to be normalized, subject to the new CMP0176 policy. Also normalize all other DESTINATION paths for consistency, except for INCLUDES DESTINATION, which is not strictly a destination but rather a search path to add. Fixes: #26252
Diffstat (limited to 'Tests/FindPython/Python3Module')
0 files changed, 0 insertions, 0 deletions