CMake: Fix warning in gtest header used by unit tests.
llvm-svn: 121127
This commit is contained in:
parent
c673a6e93e
commit
716f34c6fb
|
@ -22,6 +22,10 @@ if (NOT LLVM_ENABLE_THREADS)
|
|||
add_definitions(-DGTEST_HAS_PTHREAD=0)
|
||||
endif()
|
||||
|
||||
if(SUPPORTS_NO_VARIADIC_MACROS_FLAG)
|
||||
add_definitions("-Wno-variadic-macros")
|
||||
endif()
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
jit
|
||||
interpreter
|
||||
|
|
Loading…
Reference in New Issue