1 add_llvm_library(LLVMTestingSupport
9 ${LLVM_MAIN_INCLUDE_DIR}/llvm/Testing/Support
15 target_link_libraries(LLVMTestingSupport PRIVATE gtest)
17 # This is to avoid the error in gtest-death-test-internal.h
18 # (150,16): error: 'Create' overrides a member function but
19 # is not marked 'override' [-Werror,-Wsuggest-override]
20 # during self-compile on Windows.
22 if (HOST_WINNT AND "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" )
23 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-suggest-override")