mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 00:20:55 +02:00
Copy LuaJIT to the same directory as it is used from
This commit is contained in:
+1
-1
@@ -325,7 +325,7 @@ if(MSVC)
|
|||||||
# Copy LuaJIT source to binary dir. LuaJIT builds in-source,
|
# Copy LuaJIT source to binary dir. LuaJIT builds in-source,
|
||||||
# and we don't want to modify the original source tree, so
|
# and we don't want to modify the original source tree, so
|
||||||
# we copy it.
|
# 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})
|
set(MEGA_LUAJIT_SOURCE_DIR ${CMAKE_BINARY_DIR}/libs/${MEGA_LUAJIT_DIR})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user