aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore/CMakeLists.txt')
-rw-r--r--lib/VMCore/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/CMakeLists.txt b/lib/VMCore/CMakeLists.txt
index 6a20be6..c17e794 100644
--- a/lib/VMCore/CMakeLists.txt
+++ b/lib/VMCore/CMakeLists.txt
@@ -42,7 +42,7 @@ add_llvm_library(LLVMCore
# Workaround: It takes over 20 minutes to compile with msvc10.
# FIXME: Suppressing optimizations to core libraries would not be good thing.
-if( MSVC_VERSION EQUAL 1600 )
+if( MSVC_VERSION LESS 1700 )
set_property(
SOURCE Function.cpp
PROPERTY COMPILE_FLAGS "/Og-"