mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2025-04-08 15:40:52 +00:00
Added Windows Lua libraries
This commit is contained in:
parent
5ea89d42e7
commit
6ebffaf3fa
4 changed files with 7 additions and 3 deletions
|
@ -33,9 +33,10 @@ if(WIN32)
|
|||
#-----------------------------------------------------------------
|
||||
# Build bundled Lua 5.1 library
|
||||
#-----------------------------------------------------------------
|
||||
if(BUNDLED_LUA)
|
||||
# TODO: add lua for Windows
|
||||
message(FATAL_ERROR "Building bundled Lua on Windows is not yet possible.")
|
||||
if(BUNDLED_LUA) # DLL
|
||||
file(COPY ${CMAKE_SOURCE_DIR}/libs/lua-windows/lua51.dll DESTINATION ${CMAKE_BINARY_DIR})
|
||||
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)
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
|
|
3
lua-windows/README.txt
Normal file
3
lua-windows/README.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Precompiled binaries taken from the "Lua for Windows" project.
|
||||
|
||||
http://code.google.com/p/luaforwindows/
|
BIN
lua-windows/lua51.dll
Normal file
BIN
lua-windows/lua51.dll
Normal file
Binary file not shown.
BIN
lua-windows/lua51.lib
Normal file
BIN
lua-windows/lua51.lib
Normal file
Binary file not shown.
Loading…
Reference in a new issue