summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-12-29 00:50:09 +0000
committerNico Weber <nicolasweber@gmx.de>2013-12-29 00:50:09 +0000
commit3b6e25e33296005b131454341b978445813dc725 (patch)
treeca009cad8dbaca8b115ddbbcc44c7b15455ac8ad /cmake
parent6f93d65e025fb163e5952136dbc1b3be1f15713e (diff)
downloadllvm-3b6e25e33296005b131454341b978445813dc725.tar.gz
llvm-3b6e25e33296005b131454341b978445813dc725.tar.bz2
llvm-3b6e25e33296005b131454341b978445813dc725.tar.xz
Another windows build fix attempt after r198136.
The current quoting is stripped by cmake, try quoting more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198143 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 ad740dda72..4238f52e41 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}")