[lld] Convert LLVM_CMAKE_PATH to a CMake path
authorIsuru Fernando <isuruf@gmail.com>
Wed, 28 Apr 2021 17:50:51 +0000 (12:50 -0500)
committerIsuru Fernando <isuruf@gmail.com>
Wed, 5 May 2021 20:42:55 +0000 (15:42 -0500)
commit662a58fa0534508c2c37b22425bfdf16b9d985a8
tree8a3180a68144d96747f67919c43ce1322a8ad3cf
parent7abb56c78ba7bb9e2a91f61a65bb8feb69a92865
[lld] Convert LLVM_CMAKE_PATH to a CMake path

Otherwise I get the following error on windows.
```
CMake Error at D:/bld/lld_1569206597988/work/build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (set):
  Syntax error in cmake code at

    D:/bld/lld_1569206597988/work/build/CMakeFiles/CMakeTmp/CMakeLists.txt:2

  when parsing string

    D:\bld\lld_1569206597988\_h_env\Library\lib\cmake\llvm

  Invalid character escape '\b'.

CMake Error at D:/bld/lld_1569206597988/_build_env/Library/share/cmake-3.15/Modules/CheckSymbolExists.cmake:100 (try_compile):
  Failed to configure test project build system.
Call Stack (most recent call first):
  D:/bld/lld_1569206597988/_build_env/Library/share/cmake-3.15/Modules/CheckSymbolExists.cmake:57 (__CHECK_SYMBOL_EXISTS_IMPL)
  D:/bld/lld_1569206597988/_h_env/Library/lib/cmake/llvm/HandleLLVMOptions.cmake:943 (check_symbol_exists)
  CMakeLists.txt:56 (include)
```

Reviewed By: sbc100

Differential Revision: https://reviews.llvm.org/D68158
lld/CMakeLists.txt