diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-02-14 00:45:32 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-02-14 00:45:32 +0000 |
commit | 3d1b0aa0082339913476a806b322fb86170891a9 (patch) | |
tree | 1e8e4bcfff171a6c28e65ec7f6b6e942eb70b702 /llvm/utils | |
parent | 426078055248bcbfc5b818e703333113c5e61594 (diff) | |
download | bcm5719-llvm-3d1b0aa0082339913476a806b322fb86170891a9.tar.gz bcm5719-llvm-3d1b0aa0082339913476a806b322fb86170891a9.zip |
Revert r229185, "Raising minimum required Visual Studio version to 2013."
All builders are not ready yet.
llvm-svn: 229199
Diffstat (limited to 'llvm/utils')
-rw-r--r-- | llvm/utils/unittest/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/utils/unittest/CMakeLists.txt b/llvm/utils/unittest/CMakeLists.txt index b34e22ae0cb..7ac894dff14 100644 --- a/llvm/utils/unittest/CMakeLists.txt +++ b/llvm/utils/unittest/CMakeLists.txt @@ -32,6 +32,12 @@ if (NOT LLVM_ENABLE_THREADS) add_definitions( -DGTEST_HAS_PTHREAD=0 ) endif() +# Visual Studio 2012 only supports up to 8 template parameters in +# std::tr1::tuple by default, but gtest requires 10 +if(MSVC AND MSVC_VERSION EQUAL 1700) + add_definitions(-D_VARIADIC_MAX=10) +endif () + set(LIBS LLVMSupport # Depends on llvm::raw_ostream ) |