mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
python310Packages.ale-py: init at 0.8.0 (#199118)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
18
pkgs/development/python-modules/ale-py/cmake-pybind11.patch
Normal file
18
pkgs/development/python-modules/ale-py/cmake-pybind11.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
diff --git a/src/python/CMakeLists.txt b/src/python/CMakeLists.txt
|
||||
index 911e280..d484943 100644
|
||||
--- a/src/python/CMakeLists.txt
|
||||
+++ b/src/python/CMakeLists.txt
|
||||
@@ -1,12 +1,6 @@
|
||||
find_package(Python3 COMPONENTS Interpreter Development.Module REQUIRED)
|
||||
|
||||
-include(FetchContent)
|
||||
-FetchContent_Declare(
|
||||
- pybind11
|
||||
- GIT_REPOSITORY https://github.com/pybind/pybind11
|
||||
- GIT_TAG v2.10.0)
|
||||
-FetchContent_MakeAvailable(pybind11)
|
||||
-
|
||||
+find_package(pybind11 REQUIRED)
|
||||
add_library(ale-py MODULE ale_python_interface.cpp)
|
||||
# Depend on the ALE and pybind11 module
|
||||
target_link_libraries(ale-py PUBLIC ale ale-lib)
|
||||
Reference in New Issue
Block a user