mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
CMake: Fix warning in gtest header used by unit tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121127 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
40f8f6264d
commit
729b2949d7
@ -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…
x
Reference in New Issue
Block a user