From 998b24e5442ebae9861ce84792b5545e3786c15a Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Sat, 6 Mar 2021 16:13:39 +0100 Subject: [PATCH] Use Lua executable variable for check-requires --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5cc09518..805e67cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -427,7 +427,7 @@ add_custom_target(check-themes add_dependencies(check check-themes) add_custom_target(check-requires - lua "${CMAKE_SOURCE_DIR}/build-utils/check_for_invalid_requires.lua" + ${LUA_EXECUTABLE} "${CMAKE_SOURCE_DIR}/build-utils/check_for_invalid_requires.lua" WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} COMMENT "Checking use of require()" USES_TERMINAL