diff options
author | Mattes D <github@xoft.cz> | 2015-05-07 22:35:02 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-05-07 23:03:02 +0200 |
commit | ceac39c4cd496bfcae11451261f040ddaca220f5 (patch) | |
tree | 4f928b59c1107c496135919f23f3a7f9543a21f6 /CMakeLists.txt | |
parent | Merge pull request #1949 from SafwatHalaby/burn (diff) | |
download | cuberite-ceac39c4cd496bfcae11451261f040ddaca220f5.tar cuberite-ceac39c4cd496bfcae11451261f040ddaca220f5.tar.gz cuberite-ceac39c4cd496bfcae11451261f040ddaca220f5.tar.bz2 cuberite-ceac39c4cd496bfcae11451261f040ddaca220f5.tar.lz cuberite-ceac39c4cd496bfcae11451261f040ddaca220f5.tar.xz cuberite-ceac39c4cd496bfcae11451261f040ddaca220f5.tar.zst cuberite-ceac39c4cd496bfcae11451261f040ddaca220f5.zip |
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 76b91e642..2bb780eba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,6 +78,9 @@ endif() # The Expat library is linked in statically, make the source files aware of that: add_definitions(-DXML_STATIC) +# Let Lua use additional checks on its C API. This is only compiled into Debug builds: +add_definitions(-DLUA_USE_APICHECK) + # Self Test Mode enables extra checks at startup if(${SELF_TEST}) add_definitions(-DSELF_TEST) |