summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2019-01-21 15:41:59 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-22 15:43:08 (GMT)
commit08dee696b5831a8cba0a70df5e6b072f91d0c6f8 (patch)
tree67ccb4d47e3257efa27ea4078891b2ebbd89b8dc /Source/CPack
parent02f7e997e939dbd0c753514edcd580083cebd37c (diff)
downloadCMake-08dee696b5831a8cba0a70df5e6b072f91d0c6f8.zip
CMake-08dee696b5831a8cba0a70df5e6b072f91d0c6f8.tar.gz
CMake-08dee696b5831a8cba0a70df5e6b072f91d0c6f8.tar.bz2
FindPythonInterp: Do not assume any version if test script fails
The Python version is retrieved by executing a small python script. If, for any reason, script fails to execute, leave the `PYTHON_VERSION_*` variables undefined instead of assuming version 1.4. Fixes: #18799
Diffstat (limited to 'Source/CPack')
0 files changed, 0 insertions, 0 deletions