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