From d109b6570bafb30740ce35449d8989f08ca79560 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Sun, 1 Apr 2012 19:38:42 +0400 Subject: Add dfhack.with_suspend(f[, args...]) that calls f with core suspended. The lock is properly removed in case of error, which is then propagated. Just for fun, it also can be yielded from within in a coroutine. --- depends/lua/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'depends') diff --git a/depends/lua/CMakeLists.txt b/depends/lua/CMakeLists.txt index 2e74ab0c..3a56aa63 100644 --- a/depends/lua/CMakeLists.txt +++ b/depends/lua/CMakeLists.txt @@ -1,8 +1,7 @@ PROJECT ( lua CXX ) CMAKE_MINIMUM_REQUIRED(VERSION 2.8) -# TODO: make this RelWithDebInfo only -ADD_DEFINITIONS(-DLUA_USE_APICHECK) +SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-DLUA_USE_APICHECK") IF(WIN32) ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE ) -- cgit v1.2.1