Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / ale-py / cmake-pybind11.patch
blob5bcf5b1d9b2f479746096247231a55e4f70f982b
1 diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt
2 index 911e280..d484943 100644
3 --- a/src/python/CMakeLists.txt
4 +++ b/src/python/CMakeLists.txt
5 @@ -1,12 +1,6 @@
6 find_package(Python3 COMPONENTS Interpreter Development.Module REQUIRED)
8 -include(FetchContent)
9 -FetchContent_Declare(
10 - pybind11
11 - GIT_REPOSITORY https://github.com/pybind/pybind11
12 - GIT_TAG v2.10.0)
13 -FetchContent_MakeAvailable(pybind11)
15 +find_package(pybind11 REQUIRED)
16 add_library(ale-py MODULE ale_python_interface.cpp)
17 # Depend on the ALE and pybind11 module
18 target_link_libraries(ale-py PUBLIC ale ale-lib)