Another windows build fix attempt after r198136.
authorNico Weber <nicolasweber@gmx.de>
Sun, 29 Dec 2013 00:50:09 +0000 (00:50 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sun, 29 Dec 2013 00:50:09 +0000 (00:50 +0000)
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

cmake/modules/AddLLVM.cmake

index ad740dda7283e87c6d543f7686c1f4932f3e0ab2..4238f52e41d8f367d36d0f0089eca47463fd1165 100644 (file)
@@ -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}")