python3 is invalid on Windows platform

Use the Python executable found when configuring the project
pull/211/head
Guðni Már Gilbert 2022-10-09 12:32:01 +00:00
parent a8df6732fe
commit 94a0149079
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ add_test(NAME motion::rampgen COMMAND rampgen ramp_data.txt)
add_dependencies(tests rampgen) add_dependencies(tests rampgen)
execute_process( execute_process(
COMMAND python3 -c "import pandas" COMMAND "${Python3_EXECUTABLE}" -c "import pandas"
RESULT_VARIABLE PANDAS_INSTALLED RESULT_VARIABLE PANDAS_INSTALLED
OUTPUT_QUIET ERROR_QUIET OUTPUT_QUIET ERROR_QUIET
) )