lua: fixed loading on Windows

This commit is contained in:
Radegast 2013-01-31 17:11:45 +00:00
parent a255acca7f
commit 56a4c118b2
3 changed files with 1 additions and 2 deletions

View file

@ -33,8 +33,7 @@ if(WIN32)
#-----------------------------------------------------------------
# Build bundled Lua 5.1 library
#-----------------------------------------------------------------
if(BUNDLED_LUA) # DLL
file(COPY ${CMAKE_SOURCE_DIR}/libs/lua-windows/lua51.dll DESTINATION ${CMAKE_BINARY_DIR})
if(BUNDLED_LUA)
set(LUA_BUNDLED_LIBRARIES "${CMAKE_SOURCE_DIR}/libs/lua-windows/lua51.lib" PARENT_SCOPE)
set(LUA_BUNDLED_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/libs/lua/src" PARENT_SCOPE)
endif(BUNDLED_LUA)

Binary file not shown.

Binary file not shown.