summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/trace-json-v1-expand-check.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-22 13:38:37 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-04-22 13:38:43 (GMT)
commitbcd98b5f9846d7b9d2a6518501eb7ac56139665e (patch)
tree8104a1c66150559d58939ff6a1cfef729d406391 /Tests/RunCMake/CommandLine/trace-json-v1-expand-check.cmake
parent4f15a57060c34900aaef5feb88edd2270fcd52e9 (diff)
parent313ea361b0435b18e89fb652bf59a8aef25a066b (diff)
downloadCMake-bcd98b5f9846d7b9d2a6518501eb7ac56139665e.zip
CMake-bcd98b5f9846d7b9d2a6518501eb7ac56139665e.tar.gz
CMake-bcd98b5f9846d7b9d2a6518501eb7ac56139665e.tar.bz2
Merge topic 'cmake-use-findpython'
313ea361b0 CMake: Use FindPython instead of FindPythonInterp to build CMake itself b6a6190877 string(): Support hash functions in bootstrap Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7197
Diffstat (limited to 'Tests/RunCMake/CommandLine/trace-json-v1-expand-check.cmake')
-rw-r--r--Tests/RunCMake/CommandLine/trace-json-v1-expand-check.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CommandLine/trace-json-v1-expand-check.cmake b/Tests/RunCMake/CommandLine/trace-json-v1-expand-check.cmake
index 7916d2e..79079e1 100644
--- a/Tests/RunCMake/CommandLine/trace-json-v1-expand-check.cmake
+++ b/Tests/RunCMake/CommandLine/trace-json-v1-expand-check.cmake
@@ -1,6 +1,6 @@
-if(PYTHON_EXECUTABLE)
+if(Python_EXECUTABLE)
execute_process(
- COMMAND ${PYTHON_EXECUTABLE} "${RunCMake_SOURCE_DIR}/trace-json-v1-check.py" --expand "${RunCMake_BINARY_DIR}/json-v1-expand.trace"
+ COMMAND ${Python_EXECUTABLE} "${RunCMake_SOURCE_DIR}/trace-json-v1-check.py" --expand "${RunCMake_BINARY_DIR}/json-v1-expand.trace"
RESULT_VARIABLE result
OUTPUT_VARIABLE output
ERROR_VARIABLE output