Reword CMake message for LuaJIT detection

This commit is contained in:
wsor4035 2024-08-26 12:32:42 -04:00 committed by GitHub
parent 56123b2fbe
commit df8afe3dc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,7 @@ if(ENABLE_LUAJIT)
find_package(LuaJIT) find_package(LuaJIT)
if(LUAJIT_FOUND) if(LUAJIT_FOUND)
set(USE_LUAJIT TRUE) set(USE_LUAJIT TRUE)
message (STATUS "Using LuaJIT provided by system.") message (STATUS "Using LuaJIT")
elseif(REQUIRE_LUAJIT) elseif(REQUIRE_LUAJIT)
message(FATAL_ERROR "LuaJIT not found whereas REQUIRE_LUAJIT=\"TRUE\" is used.\n" message(FATAL_ERROR "LuaJIT not found whereas REQUIRE_LUAJIT=\"TRUE\" is used.\n"
"To continue, either install LuaJIT or do not use REQUIRE_LUAJIT=\"TRUE\".") "To continue, either install LuaJIT or do not use REQUIRE_LUAJIT=\"TRUE\".")