From 27ba925dc26e6851c1095eaad0e306bf39f68387 Mon Sep 17 00:00:00 2001 From: Shehzan Mohammed Date: Wed, 23 Dec 2015 16:42:47 -0500 Subject: [PATCH] Add dll option for lua --- CMakeModules/build_lua.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeModules/build_lua.cmake b/CMakeModules/build_lua.cmake index 62ebf84..83f62eb 100644 --- a/CMakeModules/build_lua.cmake +++ b/CMakeModules/build_lua.cmake @@ -12,6 +12,10 @@ ELSE() SET(byproducts BYPRODUCTS ${lua_location}) ENDIF() +IF(WIN32) + ADD_DEFINITIONS("-DLUA_DL_DLL") +ENDIF() + # FIXME Tag forge correctly during release ExternalProject_Add( lua-ext