fix for rh8
All checks were successful
Build on RHEL8 / build (push) Successful in 1m56s
Build on RHEL9 / build (push) Successful in 1m46s

This commit is contained in:
froejdh_e
2025-04-10 09:29:53 +02:00
parent e97cf69fd5
commit 2f2e90c43c

View File

@ -1,12 +1,13 @@
find_package (Python 3.10 COMPONENTS Interpreter Development REQUIRED) find_package (Python 3.10 COMPONENTS Interpreter Development REQUIRED)
set(PYBIND11_FINDPYTHON ON)
# Download or find pybind11 depending on configuration # Download or find pybind11 depending on configuration
if(AARE_FETCH_PYBIND11) if(AARE_FETCH_PYBIND11)
FetchContent_Declare( FetchContent_Declare(
pybind11 pybind11
GIT_REPOSITORY https://github.com/pybind/pybind11 GIT_REPOSITORY https://github.com/pybind/pybind11
GIT_TAG v2.13.0 GIT_TAG v2.13.6
) )
FetchContent_MakeAvailable(pybind11) FetchContent_MakeAvailable(pybind11)
else() else()