From 963622af8e6cc718ab4be4799c1599107b610387 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski <4508454+sclu1034@users.noreply.github.com> Date: Tue, 11 Oct 2022 07:42:33 +0200 Subject: [PATCH] fix: Use user-provided Lua binary to run scripts (#3715) --- tests/examples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/examples/CMakeLists.txt b/tests/examples/CMakeLists.txt index 8fe46ffc3e..2fa4e286c5 100644 --- a/tests/examples/CMakeLists.txt +++ b/tests/examples/CMakeLists.txt @@ -383,7 +383,7 @@ add_custom_target(check-examples DEPENDS ${EXAMPLE_DOC_TEST_TARGETS}) # Some tests produce multiple files, find them and post-process them. add_custom_target(DOC_EXAMPLES_PPOSTPROCESS_CLEANUP - COMMAND "${TOP_SOURCE_DIR}/tests/examples/_postprocess_cleanup.lua" ${RAW_IMAGE_DIR} ${IMAGE_DIR} "${TOP_SOURCE_DIR}/tests/examples/_postprocess.lua" + COMMAND "${LUA_EXECUTABLE}" "${TOP_SOURCE_DIR}/tests/examples/_postprocess_cleanup.lua" ${RAW_IMAGE_DIR} ${IMAGE_DIR} "${TOP_SOURCE_DIR}/tests/examples/_postprocess.lua" VERBATIM DEPENDS ${BUILD_DIR}/doc/index.html )