Enable all safeties for sol

This commit is contained in:
Mm2PL 2024-10-07 15:43:22 +02:00
parent 24ec7710a6
commit 3faa5cb9b3
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -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()