From 7e3cdf7088b1fb6744d0bd9cc903823b6e3bbfe3 Mon Sep 17 00:00:00 2001 From: adrido Date: Tue, 18 Jul 2017 21:29:23 +0200 Subject: [PATCH] Copy lua51.dll (luajit) to bindir (#6148) --- src/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a7e26af7d..2e624dd7f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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) -- 2.25.1