mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 21:45:35 +00:00
Merge branch 'ptmikheev-master-patch-93378' into 'master'
Change FATAL_ERROR -> WARNING in CheckLuaCustomAllocator.cmake See merge request OpenMW/openmw!2526
This commit is contained in:
commit
f4ac32efc9
1 changed files with 2 additions and 2 deletions
|
@ -30,9 +30,9 @@ try_run(RUN_RESULT_VAR COMPILE_RESULT_VAR
|
|||
)
|
||||
|
||||
if (NOT ${COMPILE_RESULT_VAR})
|
||||
message(FATAL_ERROR "Incorrect Lua library: can't compile checkluacustomallocator.c" )
|
||||
message(WARNING "Incorrect Lua library: can't compile checkluacustomallocator.c" )
|
||||
elseif(NOT ${RUN_RESULT_VAR} EQUAL 0)
|
||||
message(FATAL_ERROR "Incorrect Lua library: custom allocator not supported (likely LuaJit compiled with LJ_64 but without LJ_GC64)" )
|
||||
message(WARNING "Incorrect Lua library: custom allocator not supported (likely LuaJit compiled with LJ_64 but without LJ_GC64)" )
|
||||
else()
|
||||
message(STATUS "Lua supports custom allocator")
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue