From 8401cc7d6fc6a71cce54dcbf63218425ec854530 Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Wed, 3 Apr 2024 21:16:56 +0200 Subject: [PATCH] Copy LuaJIT to the same directory as it is used from --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 22a76da7d..1effd5f77 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})