diff options
| author | Alexander Gavrilov | 2012-03-23 10:56:29 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-03-23 10:56:29 +0400 |
| commit | ccc8fac166ad04e67b581da44918a504865811a7 (patch) | |
| tree | 68a0c990f78292f28799b72df6cddd2d1f45bf7c /depends/lua | |
| parent | ead28db451b3f433bc241f3b2b83e04c924cbacd (diff) | |
| download | dfhack-ccc8fac166ad04e67b581da44918a504865811a7.tar.gz dfhack-ccc8fac166ad04e67b581da44918a504865811a7.tar.bz2 dfhack-ccc8fac166ad04e67b581da44918a504865811a7.tar.xz | |
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.
Diffstat (limited to 'depends/lua')
| -rw-r--r-- | depends/lua/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
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() |
