From b379180393af7de28f715c4b82c2939067b98225 Mon Sep 17 00:00:00 2001 From: Petr Mikheev Date: Mon, 28 Nov 2022 23:37:01 +0000 Subject: [PATCH] Change FATAL_ERROR -> WARNING in CheckLuaCustomAllocator.cmake --- cmake/CheckLuaCustomAllocator.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/CheckLuaCustomAllocator.cmake b/cmake/CheckLuaCustomAllocator.cmake index 3599714d11..d7c067e0fb 100644 --- a/cmake/CheckLuaCustomAllocator.cmake +++ b/cmake/CheckLuaCustomAllocator.cmake @@ -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()