mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01: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
8fffd2f294
commit
a353a58b9d
@ -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…
Reference in New Issue
Block a user