[lld] r203753 - Fix Windows build.
Rui Ueyama
ruiu at google.com
Wed Mar 12 22:22:24 PDT 2014
Author: ruiu
Date: Thu Mar 13 00:22:23 2014
New Revision: 203753
URL: http://llvm.org/viewvc/llvm-project?rev=203753&view=rev
Log:
Fix Windows build.
Modified:
lld/trunk/tools/lld/CMakeLists.txt
Modified: lld/trunk/tools/lld/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/tools/lld/CMakeLists.txt?rev=203753&r1=203752&r2=203753&view=diff
==============================================================================
--- lld/trunk/tools/lld/CMakeLists.txt (original)
+++ lld/trunk/tools/lld/CMakeLists.txt Thu Mar 13 00:22:23 2014
@@ -16,8 +16,7 @@ if(UNIX)
else()
set(command copy)
endif()
-set(src "lld${CMAKE_EXECUTABLE_SUFFIX}")
-set(dst "link${CMAKE_EXECUTABLE_SUFFIX}")
+set(src "${LLVM_RUNTIME_OUTPUT_INTDIR}/lld${CMAKE_EXECUTABLE_SUFFIX}")
+set(dst "${LLVM_RUNTIME_OUTPUT_INTDIR}/link${CMAKE_EXECUTABLE_SUFFIX}")
add_custom_command(TARGET lld POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E ${command} ${src} ${dst}
- WORKING_DIRECTORY "${LLVM_RUNTIME_OUTPUT_INTDIR}")
+ COMMAND ${CMAKE_COMMAND} -E ${command} ${src} ${dst})
More information about the llvm-commits
mailing list