Merge pull request #14 from learn-more/luajit

Copy LuaJIT to the same directory as it is used from
This commit is contained in:
Miku AuahDark
2024-04-13 15:02:45 +08:00
committed by GitHub
+1 -1
View File
@@ -325,7 +325,7 @@ if(MSVC)
# Copy LuaJIT source to binary dir. LuaJIT builds in-source,
# and we don't want to modify the original source tree, so
# we copy it.
file(COPY libs/${MEGA_LUAJIT_DIR} DESTINATION libs)
file(COPY libs/${MEGA_LUAJIT_DIR} DESTINATION ${CMAKE_BINARY_DIR}/libs)
set(MEGA_LUAJIT_SOURCE_DIR ${CMAKE_BINARY_DIR}/libs/${MEGA_LUAJIT_DIR})