xrootd/0001-Unbundle-gtest.patch
2026-08-13 07:56:03 +02:00

25 lines
655 B
Diff

From cd11f615e749a1fcdd353edd30505c4e8da897db Mon Sep 17 00:00:00 2001
From: Mattias Ellert <mattias.ellert@physics.uu.se>
Date: Tue, 11 Aug 2026 23:53:15 +0200
Subject: [PATCH] Unbundle gtest
---
cmake/XRootDFindLibs.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/XRootDFindLibs.cmake b/cmake/XRootDFindLibs.cmake
index e47dfb83e..3788f5ed4 100644
--- a/cmake/XRootDFindLibs.cmake
+++ b/cmake/XRootDFindLibs.cmake
@@ -89,7 +89,7 @@ if( ENABLE_XRDOSSARC )
endif()
if( ENABLE_TESTS )
- add_subdirectory(vendor/googletest EXCLUDE_FROM_ALL)
+ find_package( GTest REQUIRED )
set( BUILD_TESTS TRUE )
--
2.55.0