If one builds luzer like the following (non-system LuaJIT):
CC=clang cmake -DENABLE_TESTING=ON -DLUAJIT_FRIENDLY_MODE=ON -DLUA_EXECUTABLE="$HOME/LuaJIT/src/luajit" -DLUA_INCLUDE_DIR="$HOME/LuaJIT/src/" -DLUA_LIBRARIES="$HOME/LuaJIT/src/libluajit.so" -DCMAKE_BUILD_TYPE=Debug -DENABLE_LUAJIT=ON -S . -B build
Then the luzer_luajit_friendly_test fails due to hardcoded LUA_PATH:
/home/burii/LuaJIT/src/luajit: unknown luaJIT command or jit.* modules not installed
If one builds luzer like the following (non-system LuaJIT):
Then the
luzer_luajit_friendly_testfails due to hardcodedLUA_PATH: