summaryrefslogtreecommitdiffstats
path: root/Modules/FindQt4.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-08-04 14:40:50 (GMT)
committerBrad King <brad.king@kitware.com>2020-08-07 13:24:18 (GMT)
commita92d3845489c2f420ab2ad461404157d2da3a73d (patch)
tree8dc345763d1c31ad23c945cf385b7ccf04e5aab5 /Modules/FindQt4.cmake
parent63a65baf4c343c73b2142078ef0045d3711dea1d (diff)
downloadCMake-a92d3845489c2f420ab2ad461404157d2da3a73d.zip
CMake-a92d3845489c2f420ab2ad461404157d2da3a73d.tar.gz
CMake-a92d3845489c2f420ab2ad461404157d2da3a73d.tar.bz2
FindPython: ensure user's policies are respected
Do not set the policy version before recording our internal macros such as `__Python_add_library`. Otherwise callers get our policy version instead of theirs. Instead just set the specific policies we need. Also fix one case in our test suite where we were accidentally relying on the policy version to be set by `FindPython`. Fixes: #21042
Diffstat (limited to 'Modules/FindQt4.cmake')
0 files changed, 0 insertions, 0 deletions