From 94a014907925d88f384934f6b59b3b17baf7ce83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Sun, 9 Oct 2022 12:32:01 +0000 Subject: [PATCH] python3 is invalid on Windows platform Use the Python executable found when configuring the project --- tests/unit/modules/motion/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/modules/motion/CMakeLists.txt b/tests/unit/modules/motion/CMakeLists.txt index 5453640..025dd22 100644 --- a/tests/unit/modules/motion/CMakeLists.txt +++ b/tests/unit/modules/motion/CMakeLists.txt @@ -24,7 +24,7 @@ add_test(NAME motion::rampgen COMMAND rampgen ramp_data.txt) add_dependencies(tests rampgen) execute_process( - COMMAND python3 -c "import pandas" + COMMAND "${Python3_EXECUTABLE}" -c "import pandas" RESULT_VARIABLE PANDAS_INSTALLED OUTPUT_QUIET ERROR_QUIET )