Skip to content

Commit

Permalink
Merge pull request #14 from learn-more/luajit
Browse files Browse the repository at this point in the history
Copy LuaJIT to the same directory as it is used from
  • Loading branch information
MikuAuahDark authored Apr 13, 2024
2 parents 3b7b4cb + 8401cc7 commit 2c45b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down

0 comments on commit 2c45b8b

Please sign in to comment.