File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ _Block_release(void) { }\n")
340
340
endif ()
341
341
342
342
execute_process (COMMAND
343
- " ${PYTHON_EXECUTABLE} " "-c" "import psutil"
343
+ $< TARGET_FILE:Python2::Interpreter > "-c" "import psutil"
344
344
RESULT_VARIABLE python_psutil_status
345
345
TIMEOUT 1 # second
346
346
ERROR_QUIET )
@@ -400,7 +400,7 @@ _Block_release(void) { }\n")
400
400
${command_upload_swift_reflection_test}
401
401
${command_clean_test_results_dir}
402
402
COMMAND
403
- ${PYTHON_EXECUTABLE} "${LIT} "
403
+ $< TARGET_FILE:Python2::Interpreter > "${LIT} "
404
404
${LIT_ARGS}
405
405
"--param" "swift_test_subset=${test_subset} "
406
406
"--param" "swift_test_mode=${test_mode} "
@@ -419,7 +419,7 @@ _Block_release(void) { }\n")
419
419
${command_upload_swift_reflection_test}
420
420
${command_clean_test_results_dir}
421
421
COMMAND
422
- ${PYTHON_EXECUTABLE} "${LIT} "
422
+ $< TARGET_FILE:Python2::Interpreter > "${LIT} "
423
423
${LIT_ARGS}
424
424
"--param" "swift_test_subset=${test_subset} "
425
425
"--param" "swift_test_mode=${test_mode} "
You can’t perform that action at this time.
0 commit comments