File 0001-Allow-to-use-pybind11-system-packages.patch of Package google-or-tools

From e65cf7dd2fa2a04ec1b2e1bf671d475b6b457d0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
Date: Thu, 16 May 2024 19:17:36 +0200
Subject: [PATCH] Allow to use pybind11 system packages

---
 cmake/deps.cmake | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/cmake/deps.cmake b/cmake/deps.cmake
index 9b65581..33af1e5 100644
--- a/cmake/deps.cmake
+++ b/cmake/deps.cmake
@@ -168,4 +168,8 @@ if(BUILD_PYTHON)
   if(NOT BUILD_pybind11_protobuf)
     find_package(pybind11_protobuf REQUIRED)
   endif()
+
+  if(NOT BUILD_pybind11_abseil)
+    find_package(pybind11_abseil REQUIRED)
+  endif()
 endif()
-- 
2.45.0

openSUSE Build Service is sponsored by