Explorar o código

Copy LuaJIT to the same directory as it is used from

Mark Jansen hai 1 ano
pai
achega
8401cc7d6f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,
 	# 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})