summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-12-29 00:27:49 +0000
committerNico Weber <nicolasweber@gmx.de>2013-12-29 00:27:49 +0000
commita2ecd26be9fb3353c463660d437d5ae90e4448b9 (patch)
tree05ad0347e1074d8c26d9dfb8f49126d8987fa877 /cmake
parent6d731f052b34aec89942811f6000aebd15e9a7d3 (diff)
downloadllvm-a2ecd26be9fb3353c463660d437d5ae90e4448b9.tar.gz
llvm-a2ecd26be9fb3353c463660d437d5ae90e4448b9.tar.bz2
llvm-a2ecd26be9fb3353c463660d437d5ae90e4448b9.tar.xz
Try to fix windows build more after r198136.
The command that cmd.exe is complaining about is: cmd.exe /c cd /D C:\bb-win7\cmake-clang-i686-mingw32\build\tools\lto && cmake -E echo EXPORTS > symbol.def && type C:/bb-win7/cmake-clang-i686-mingw32/llvm-project/llvm/tools/lto/lto.exports >> symbol.def Maybe quoting the filename helps. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198140 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/AddLLVM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake
index ea06f359b0..ad740dda72 100644
--- a/cmake/modules/AddLLVM.cmake
+++ b/cmake/modules/AddLLVM.cmake
@@ -37,7 +37,7 @@ function(add_llvm_symbol_exports target_name export_file)
add_custom_command(OUTPUT symbol.def
COMMAND ${CMAKE_COMMAND} -E echo "EXPORTS" > symbol.def
- COMMAND ${CAT} ${export_file} >> symbol.def
+ COMMAND ${CAT} "${export_file}" >> symbol.def
DEPENDS ${export_file}
VERBATIM
COMMENT "Creating export file for ${target_name}")