diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2020-02-18 14:42:19 +0200 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2020-02-19 13:16:17 +0100 |
commit | 3dee8be1c3fe621b9c1926658f6c0df72ce804be (patch) | |
tree | 0538185104948039b7a400d4cf66053af4b30496 | |
parent | cd5006d09d0e646b3aaab7bf5ad21407574f93c0 (diff) | |
download | bcm5719-llvm-3dee8be1c3fe621b9c1926658f6c0df72ce804be.tar.gz bcm5719-llvm-3dee8be1c3fe621b9c1926658f6c0df72ce804be.zip |
llvm: Use quotes around MSVC_DIA_SDK_DIR CMake variable
MSVC_DIA_SDK_DIR variable will point to a path which contains spaces,
and without quotes it will fail to configure the project.
(cherry picked from commit d6fe253653b7e760f94ca21d0a7ebbfeeee28777)
-rw-r--r-- | llvm/cmake/config-ix.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake index a16038f7098..fc66dbfcbe7 100644 --- a/llvm/cmake/config-ix.cmake +++ b/llvm/cmake/config-ix.cmake @@ -469,7 +469,7 @@ if( MSVC ) # though that we should handle it. We do so by simply checking that # the DIA SDK folder exists. Should this happen you will need to # uninstall VS 2012 and then re-install VS 2013. - if (IS_DIRECTORY ${MSVC_DIA_SDK_DIR}) + if (IS_DIRECTORY "${MSVC_DIA_SDK_DIR}") set(HAVE_DIA_SDK 1) else() set(HAVE_DIA_SDK 0) |