[docs] Fix minor typo in CodingStandards.rst
[oota-llvm.git] / CMakeLists.txt
index 7aefb2d8f99008e86d58ac34d5d5f0630573ec61..85176fa2058103abe7ddc744849ef50b8d559a38 100644 (file)
@@ -309,7 +309,7 @@ endif()
 # Define the default arguments to use with 'lit', and an option for the user to
 # override.
 set(LIT_ARGS_DEFAULT "-sv")
-if (MSVC OR XCODE)
+if (MSVC_IDE OR XCODE)
   set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar")
 endif()
 set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")