mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 10:26:44 +00:00
Fix build errors LLVM tests are disabled.
Original patch from alanbaker@google.com Fixes the error: CMake Error in <...>/llvm/cmake/modules/CMakeLists.txt: export called with target "LLVMTestingSupport" which requires target "gtest" that is not in the export set. This occurs when LLVM is embedded in a larger project, but is configured not to include tests. If testing is disabled gtest isn't available and LLVM fails to configure. Differential revision: https://reviews.llvm.org/D63097 llvm-svn: 365836
This commit is contained in:
parent
f55aad0356
commit
a35a7d49e5
@ -28,5 +28,7 @@ add_subdirectory(Passes)
|
||||
add_subdirectory(TextAPI)
|
||||
add_subdirectory(ToolDrivers)
|
||||
add_subdirectory(XRay)
|
||||
add_subdirectory(Testing)
|
||||
if (LLVM_INCLUDE_TESTS)
|
||||
add_subdirectory(Testing)
|
||||
endif()
|
||||
add_subdirectory(WindowsManifest)
|
||||
|
Loading…
x
Reference in New Issue
Block a user