ship lua51.dll with stratagus
This commit is contained in:
parent
3db76e5cb6
commit
728edd2ba2
2 changed files with 5 additions and 0 deletions
|
@ -1216,6 +1216,10 @@ if(WIN32 AND ENABLE_NSIS AND MAKENSIS_FOUND)
|
|||
file(COPY ${GLIB_DLL} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
file(COPY ${GTHREAD_DLL} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
endif()
|
||||
# also ship lua51.dll
|
||||
find_file(LUA_DLL lua51.dll HINTS ${CMAKE_PREFIX_PATH} PATH_SUFFIXES bin lib)
|
||||
file(COPY ${LUA_DLL} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
set(MAKENSIS_FLAGS ${MAKENSIS_FLAGS} -DLUADLL=lua51.dll)
|
||||
add_custom_command(OUTPUT Stratagus-${STRATAGUS_VERSION}${MAKENSIS_SUFFIX}
|
||||
COMMAND ${MAKENSIS} ARGS ${MAKENSIS_FLAGS} -DVERSION=${STRATAGUS_VERSION} -DVIVERSION=${STRATAGUS_VERSION_FULL} ${CMAKE_CURRENT_SOURCE_DIR}/src/win32/stratagus.nsi
|
||||
DEPENDS src/win32/stratagus.nsi stratagus COPYING
|
||||
|
|
|
@ -223,6 +223,7 @@ Section "${NAME}"
|
|||
SetOutPath $INSTDIR
|
||||
File "${EXE}"
|
||||
File "${SDL}"
|
||||
File "${LUADLL}"
|
||||
!ifdef FLUID
|
||||
File "${FLUIDDLL}"
|
||||
File "${GLIBDLL}"
|
||||
|
|
Loading…
Reference in a new issue