Skip to content

Commit 7e3cdf7

Browse files
adridonerzhul
authored andcommittedJul 18, 2017
Copy lua51.dll (luajit) to bindir (#6148)
1 parent a8c405b commit 7e3cdf7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,9 @@ if(WIN32)
292292
set(VORBIS_DLL "" CACHE FILEPATH "Path to libvorbis.dll for installation (optional)")
293293
set(VORBISFILE_DLL "" CACHE FILEPATH "Path to libvorbisfile.dll for installation (optional)")
294294
endif()
295+
if(USE_LUAJIT)
296+
set(LUA_DLL "" CACHE FILEPATH "Path to lua51.dll for installation (optional)")
297+
endif()
295298
else()
296299
# Unix probably
297300
if(BUILD_CLIENT)
@@ -809,6 +812,9 @@ if(WIN32)
809812
if(LEVELDB_DLL)
810813
install(FILES ${LEVELDB_DLL} DESTINATION ${BINDIR})
811814
endif()
815+
if(LUA_DLL)
816+
install(FILES ${LUA_DLL} DESTINATION ${BINDIR})
817+
endif()
812818
endif()
813819

814820
if(BUILD_CLIENT)

0 commit comments

Comments
 (0)
Please sign in to comment.