From d6fe253653b7e760f94ca21d0a7ebbfeeee28777 Mon Sep 17 00:00:00 2001 From: Cristian Adam Date: Tue, 18 Feb 2020 14:42:19 +0200 Subject: [PATCH] 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. --- llvm/cmake/config-ix.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake index a16038f..fc66dbf 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) -- 2.7.4