forked from pool/pybind11-abseil
Pybind11 bindings for the Abseil C++ Common Libraries (fixed devel package name from superseded sr). Note: Needed for google-or-tools update [https://build.opensuse.org/request/show/1169757] OBS-URL: https://build.opensuse.org/request/show/1170479 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/pybind11-abseil?expand=0&rev=1
21 lines
649 B
Diff
21 lines
649 B
Diff
---
|
|
CMakeLists.txt | 7 +++++++
|
|
1 file changed, 7 insertions(+)
|
|
|
|
Index: pybind11_abseil-202402.0/CMakeLists.txt
|
|
===================================================================
|
|
--- pybind11_abseil-202402.0.orig/CMakeLists.txt
|
|
+++ pybind11_abseil-202402.0/CMakeLists.txt
|
|
@@ -37,3 +37,11 @@ set(TOP_LEVEL_DIR ${CMAKE_CURRENT_LIST_D
|
|
include_directories(${TOP_LEVEL_DIR} ${pybind11_INCLUDE_DIRS})
|
|
|
|
add_subdirectory(pybind11_abseil)
|
|
+
|
|
+if(CMAKE_INSTALL_PYDIR)
|
|
+ install(DIRECTORY pybind11_abseil
|
|
+ TYPE INCLUDE
|
|
+ FILES_MATCHING PATTERN "*.h"
|
|
+ PATTERN tests EXCLUDE
|
|
+ PATTERN requirements EXCLUDE)
|
|
+endif()
|