Skip to content

Commit

Permalink
Copy lua51.dll (luajit) to bindir (#6148)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrido authored and nerzhul committed Jul 18, 2017
1 parent a8c405b commit 7e3cdf7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/CMakeLists.txt
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 7e3cdf7

Please sign in to comment.