[PATCH] D53752: [CMake] Convert paths to the right form in standalone builds on Windows
Peiyuan Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 26 02:33:27 PDT 2018
SquallATF created this revision.
Herald added subscribers: Sanitizers, llvm-commits, delcypher, mgorny.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D53752
Files:
cmake/Modules/HandleCompilerRT.cmake
Index: cmake/Modules/HandleCompilerRT.cmake
===================================================================
--- cmake/Modules/HandleCompilerRT.cmake
+++ cmake/Modules/HandleCompilerRT.cmake
@@ -10,6 +10,7 @@
OUTPUT_VARIABLE LIBRARY_FILE
)
string(STRIP "${LIBRARY_FILE}" LIBRARY_FILE)
+ file(TO_CMAKE_PATH "${LIBRARY_FILE}" LIBRARY_FILE)
string(REPLACE "builtins" "${name}" LIBRARY_FILE "${LIBRARY_FILE}")
if (NOT HAD_ERROR AND EXISTS "${LIBRARY_FILE}")
message(STATUS "Found compiler-rt ${name} library: ${LIBRARY_FILE}")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53752.171274.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181026/81014b82/attachment.bin>
More information about the llvm-commits
mailing list