mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
[lldb/unittests/CMakeLists.txt] Remove extra compiler flag -include gtest_common.h
, NFC
This doesn't seem to be necessary anymore so remove it to be more consistent with rest of the LLVM projects that don't use prefix headers. Differential Revision: https://reviews.llvm.org/D139058
This commit is contained in:
parent
01688ee9df
commit
a9e24afdc7
@ -10,13 +10,6 @@ if (CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG)
|
||||
add_compile_options("-Wno-suggest-override")
|
||||
endif()
|
||||
|
||||
set(LLDB_GTEST_COMMON_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/gtest_common.h)
|
||||
if (MSVC)
|
||||
list(APPEND LLVM_COMPILE_FLAGS /FI ${LLDB_GTEST_COMMON_INCLUDE})
|
||||
else ()
|
||||
list(APPEND LLVM_COMPILE_FLAGS -include ${LLDB_GTEST_COMMON_INCLUDE})
|
||||
endif ()
|
||||
|
||||
function(add_lldb_unittest test_name)
|
||||
cmake_parse_arguments(ARG
|
||||
""
|
||||
|
Loading…
Reference in New Issue
Block a user