summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/cmake/modules/AddLLVM.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index ad740dda728..4238f52e41d 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/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}")
OpenPOWER on IntegriCloud