Browse Source

Copy LuaJIT to the same directory as it is used from

Mark Jansen 1 year ago
parent
commit
8401cc7d6f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CMakeLists.txt

+ 1 - 1
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})