Use Lua executable variable for check-requires

This commit is contained in:
Lucas Schwiderski 2021-03-06 16:13:39 +01:00
parent 353ccfb0dd
commit 998b24e544
No known key found for this signature in database
GPG Key ID: AA12679AAA6DF4D8
1 changed files with 1 additions and 1 deletions

View File

@ -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