diff options
author | Daniel Hahler <git@thequod.de> | 2019-10-07 17:42:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-07 17:42:40 +0200 |
commit | 7faa6c41c89f1c5d48f92a436ed690bc7ce6ea85 (patch) | |
tree | 11999afcaaa70355a0c11728dbe85a03c7df7015 /test/functional/eval/api_functions_spec.lua | |
parent | dfed0e60d7e3af9a89f0e945227b9ed2e599aee4 (diff) | |
download | rneovim-7faa6c41c89f1c5d48f92a436ed690bc7ce6ea85.tar.gz rneovim-7faa6c41c89f1c5d48f92a436ed690bc7ce6ea85.tar.bz2 rneovim-7faa6c41c89f1c5d48f92a436ed690bc7ce6ea85.zip |
cmake: only set LUA_PRG with successful check (#11172)
This is relevant for when using `USE_BUNDLED_LUAJIT=ON` with
`USE_BUNDLED_LUAROCKS=OFF`, and then building without the necessary modules
being installed/activated there yet: it would check the other (system) "lua"
interpreters also, and in case all failed keep the `LUA_PRG` in the cache for
the last failed entry - making it not re-check the previous ones on the next
build (after you might have activated your custom LuaRocks installation).
Only setting LUA_PRG if the check was successful handles the case better where
it is configured already - we should not try to re-configure it then.
Diffstat (limited to 'test/functional/eval/api_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions