FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix examples tests · xtensor-stack/xtensor-python@8750602 · GitHub

Repository navigation

Commit 8750602

Browse files
Fix examples tests
1 parent 6598f7d commit 8750602

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎docs/source/examples/copy_cast/CMakeLists.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ project(mymodule)
55
find_package(pybind11 CONFIG REQUIRED)
66
find_package(xtensor REQUIRED)
77
find_package(xtensor-python REQUIRED)
8-
find_package(Python REQUIRED COMPONENTS NumPy)
8+
find_package(Python3 REQUIRED COMPONENTS NumPy)
99

1010
pybind11_add_module(mymodule main.cpp)
11-
target_link_libraries(mymodule PUBLIC pybind11::module xtensor-python Python::NumPy)
11+
target_link_libraries(mymodule PUBLIC pybind11::module xtensor-python Python3::NumPy)
1212

1313
target_compile_definitions(mymodule PRIVATE VERSION_INFO=0.1.0)

‎docs/source/examples/readme_example_1/CMakeLists.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ cmake_minimum_required(VERSION 3.29)
22

33
project(mymodule)
44

5-
find_package(Python REQUIRED COMPONENTS Interpreter Development NumPy)
5+
find_package(Python3 REQUIRED COMPONENTS Interpreter Development NumPy)
66
find_package(pybind11 REQUIRED CONFIG)
77
find_package(xtensor REQUIRED)
88
find_package(xtensor-python REQUIRED)
99

1010
pybind11_add_module(mymodule main.cpp)
11-
target_link_libraries(mymodule PUBLIC pybind11::module xtensor-python Python::NumPy)
11+
target_link_libraries(mymodule PUBLIC pybind11::module xtensor-python Python3::NumPy)
1212

1313
target_compile_definitions(mymodule PRIVATE VERSION_INFO=0.1.0)

‎docs/source/examples/sfinae/CMakeLists.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ cmake_minimum_required(VERSION 3.29)
22

33
project(mymodule)
44

5-
find_package(Python REQUIRED COMPONENTS Interpreter Development NumPy)
5+
find_package(Python3 REQUIRED COMPONENTS Interpreter Development NumPy)
66
find_package(pybind11 REQUIRED CONFIG)
77
find_package(xtensor REQUIRED)
88
find_package(xtensor-python REQUIRED)
99

1010
pybind11_add_module(mymodule python.cpp)
11-
target_link_libraries(mymodule PUBLIC pybind11::module xtensor-python Python::NumPy)
11+
target_link_libraries(mymodule PUBLIC pybind11::module xtensor-python Python3::NumPy)
1212

1313
target_compile_definitions(mymodule PRIVATE VERSION_INFO=0.1.0)
1414

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL