SHA256
10
0
forked from pool/xrootd
Files
xrootd/xrootd-find-gtest.patch
Atri Bhattacharya 2826cd51ac Accepting request 1186244 from home:badshah400:branches:science
* Update to version 5.7.0.
* Add xrootd-find-gtest.patch: Add `find_package` snippet to CMakeLists.txt to avoid linking issues when building tests (we do not, but still this fixes the cmake config for when we might).
* Add new BuildRequires to build additional libraries and plugins:

OBS-URL: https://build.opensuse.org/request/show/1186244
OBS-URL: https://build.opensuse.org/package/show/science/xrootd?expand=0&rev=87
2024-07-12 15:31:57 +00:00

17 lines
396 B
Diff

---
tests/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
Index: xrootd-5.7.0/tests/CMakeLists.txt
===================================================================
--- xrootd-5.7.0.orig/tests/CMakeLists.txt
+++ xrootd-5.7.0/tests/CMakeLists.txt
@@ -2,6 +2,7 @@ if(NOT BUILD_TESTS)
return()
endif()
+find_package(GTest REQUIRED)
include(GoogleTest)
add_subdirectory(common)