File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -718,7 +718,7 @@ if (BUILD_TESTS)
718
718
set (RUN_TESTS_PY ${WABT_SOURCE_DIR} /test/run-tests.py )
719
719
720
720
add_custom_target (run-tests
721
- COMMAND ${CMAKE_COMMAND} -E env WASM2C_CC=${CMAKE_C_COMPILER} WASM2C_CFLAGS=${WASM2C_CFLAGS} ${PYTHON_EXECUTABLE } ${RUN_TESTS_PY} --bindir $< TARGET_FILE_DIR:wat2wasm>
721
+ COMMAND ${CMAKE_COMMAND} -E env WASM2C_CC=${CMAKE_C_COMPILER} WASM2C_CFLAGS=${WASM2C_CFLAGS} ${Python3_EXECUTABLE } ${RUN_TESTS_PY} --bindir $< TARGET_FILE_DIR:wat2wasm>
722
722
DEPENDS ${WABT_EXECUTABLES}
723
723
WORKING_DIRECTORY ${WABT_SOURCE_DIR}
724
724
USES_TERMINAL
@@ -732,7 +732,7 @@ if (BUILD_TESTS)
732
732
)
733
733
734
734
add_custom_target (run-c-api-tests
735
- COMMAND ${PYTHON_EXECUTABLE } ${WABT_SOURCE_DIR} /test/run-c-api-examples.py --bindir $< TARGET_FILE_DIR:wat2wasm>
735
+ COMMAND ${Python3_EXECUTABLE } ${WABT_SOURCE_DIR} /test/run-c-api-examples.py --bindir $< TARGET_FILE_DIR:wat2wasm>
736
736
WORKING_DIRECTORY ${WABT_SOURCE_DIR}
737
737
USES_TERMINAL
738
738
)
You can’t perform that action at this time.
0 commit comments