From c47e5db6ca882c8b6f1375d262f902f40403ed20 Mon Sep 17 00:00:00 2001 From: Peter Drahos Date: Thu, 3 Mar 2011 13:48:47 +0100 Subject: Add rc content to the MinGW build --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d19f9f6..b403d9b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ INCLUDE(dist.cmake ) # Determine install host IF ( WIN32 AND NOT CYGWIN) ADD_DEFINITIONS ( -DLUA_BUILD_AS_DLL ) - IF(MSVC) + IF(MSVC OR MINGW) ADD_DEFINITIONS(-D_CRT_SECURE_NO_DEPRECATE ) SET(DEF_FILE src/lua.def) SET(DLL_RC_FILE src/lua_dll.rc) -- cgit v1.2.1