Copy lua51.dll (luajit) to bindir (#6148)

This commit is contained in:
adrido 2017-07-18 21:29:23 +02:00 committed by Loïc Blot
parent a8c405b04e
commit 7e3cdf7088

@ -292,6 +292,9 @@ if(WIN32)
set(VORBIS_DLL "" CACHE FILEPATH "Path to libvorbis.dll for installation (optional)")
set(VORBISFILE_DLL "" CACHE FILEPATH "Path to libvorbisfile.dll for installation (optional)")
endif()
if(USE_LUAJIT)
set(LUA_DLL "" CACHE FILEPATH "Path to lua51.dll for installation (optional)")
endif()
else()
# Unix probably
if(BUILD_CLIENT)
@ -809,6 +812,9 @@ if(WIN32)
if(LEVELDB_DLL)
install(FILES ${LEVELDB_DLL} DESTINATION ${BINDIR})
endif()
if(LUA_DLL)
install(FILES ${LUA_DLL} DESTINATION ${BINDIR})
endif()
endif()
if(BUILD_CLIENT)