From 3faa5cb9b319111a5e23bebb863d6e490e2213f9 Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Mon, 7 Oct 2024 15:43:22 +0200 Subject: [PATCH] Enable all safeties for sol --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 023135891..843a3d7f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -212,6 +212,7 @@ endif() if (CHATTERINO_PLUGINS) set(LUA_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/lib/lua/src") add_subdirectory(lib/lua) + add_definitions(-DSOL_ALL_SAFETIES_ON=1) find_package(Sol2 REQUIRED) endif()