Commit 1e543fa4 authored by Vicent Marti's avatar Vicent Marti

cmake: Find `sudo` explicitly

parent 81990c32
find_program(LUAJIT luajit)
find_program(SUDO sudo)
if(LUAJIT)
add_test(NAME lua_test_clang WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND sudo ${LUAJIT} test_clang.lua)
COMMAND ${SUDO} ${LUAJIT} test_clang.lua)
endif()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment