Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python
pybind11-abseil
use-system-packages-if-possible.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use-system-packages-if-possible.patch of Package pybind11-abseil
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7045304..d18b02f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,15 +20,16 @@ FetchContent_Declare( abseil-cpp URL https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.0.tar.gz URL_HASH - SHA256=59d2976af9d6ecf001a81a35749a6e551a335b949d34918cfade07737b9d93c5) + SHA256=59d2976af9d6ecf001a81a35749a6e551a335b949d34918cfade07737b9d93c5 + FIND_PACKAGE_ARGS NAMES absl) FetchContent_Declare( pybind11 - URL https://github.com/pybind/pybind11/archive/refs/heads/master.tar.gz) + URL https://github.com/pybind/pybind11/archive/refs/heads/master.tar.gz + FIND_PACKAGE_ARGS) +#find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module) FetchContent_MakeAvailable(abseil-cpp pybind11) -find_package(Python3 REQUIRED COMPONENTS Interpreter Development.Module) -add_subdirectory(cmake/dependencies dependencies) set(TOP_LEVEL_DIR ${CMAKE_CURRENT_LIST_DIR}) include_directories(${TOP_LEVEL_DIR} ${pybind11_INCLUDE_DIRS})
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor