Skip to content

Commit 27ba925

Browse files
committed
Add dll option for lua
1 parent 375fff3 commit 27ba925

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeModules/build_lua.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ ELSE()
1212
SET(byproducts BYPRODUCTS ${lua_location})
1313
ENDIF()
1414

15+
IF(WIN32)
16+
ADD_DEFINITIONS("-DLUA_DL_DLL")
17+
ENDIF()
18+
1519
# FIXME Tag forge correctly during release
1620
ExternalProject_Add(
1721
lua-ext

0 commit comments

Comments
 (0)