diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake --- a/llvm/cmake/config-ix.cmake +++ b/llvm/cmake/config-ix.cmake @@ -469,7 +469,7 @@ # 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)