Try to fix generation of LLVMExports.cmake under Visual Studio.
authorDan Liew <dan@su-root.co.uk>
Fri, 19 Jun 2015 21:50:27 +0000 (21:50 +0000)
committerDan Liew <dan@su-root.co.uk>
Fri, 19 Jun 2015 21:50:27 +0000 (21:50 +0000)
commit9b3369eafc30e66b0444838ab9c6424747ab979f
tree7480a2259dd05408436010e92b7cab5ffb47eb2a
parent7edd010739a9f7951444e6c7151547a12af319f4
Try to fix generation of LLVMExports.cmake under Visual Studio.
If LLVMDebugInfoPDB links against the DIA SDK then the exports file
would contain an INTERFACE_LINK_LIBRARIES property that contained an
absolute path to ``diaguids.lib`` which used a native windows path (interpreted
as escape sequences when LLVMExports.cmake is imported causing
``find_package(LLVM)`` to fail) rather than the correct CMake style path.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240181 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/PDB/CMakeLists.txt