summaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-10-07 18:12:54 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-10-07 18:12:54 +0000
commit1cade330affc01142f43e8c46a8e34278740ad53 (patch)
tree6001fc2784890ee331dd0cf5fd785fa3e761494d /cmake/config-ix.cmake
parent2c81296bc237cb26c2bb789514e331b3b5b31f79 (diff)
downloadllvm-1cade330affc01142f43e8c46a8e34278740ad53.tar.gz
llvm-1cade330affc01142f43e8c46a8e34278740ad53.tar.bz2
llvm-1cade330affc01142f43e8c46a8e34278740ad53.tar.xz
CMake: Fix warning in gtest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115935 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rwxr-xr-xcmake/config-ix.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index cb83eab2a5..b84fa5d680 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -165,6 +165,8 @@ if( NOT WIN32 )
check_cxx_compiler_flag("-fPIC" SUPPORTS_FPIC_FLAG)
endif()
+check_cxx_compiler_flag("-Wno-variadic-macros" SUPPORTS_NO_VARIADIC_MACROS_FLAG)
+
include(GetTargetTriple)
get_target_triple(LLVM_HOSTTRIPLE)