From ccc8fac166ad04e67b581da44918a504865811a7 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Fri, 23 Mar 2012 10:56:29 +0400 Subject: Get rid of the write mode field table in metamethods. Two separate tables can be confusing, e.g. if a builtin field overrides a writable custom one only in the read table. --- depends/lua/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'depends') diff --git a/depends/lua/CMakeLists.txt b/depends/lua/CMakeLists.txt index 6a97bd43..23ea6a48 100644 --- a/depends/lua/CMakeLists.txt +++ b/depends/lua/CMakeLists.txt @@ -1,6 +1,9 @@ PROJECT ( lua C ) CMAKE_MINIMUM_REQUIRED(VERSION 2.8) +# TODO: make this RelWithDebInfo only +ADD_DEFINITIONS(-DLUA_USE_APICHECK) + IF(WIN32) ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE ) ELSE() -- cgit v1.2.1