Skip to content

Commit 03c3d46

Browse files
committed
reverting (nothing changed)
1 parent 63fa743 commit 03c3d46

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
ninja
3939
4040
- name: Configure using CMake
41-
run: cmake -Bbuild -G "Ninja" -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DPYTHON_EXECUTABLE=`which python` -DPython_EXECUTABLE=`which python` -DDOWNLOAD_GTEST=ON
41+
run: cmake -Bbuild -G "Ninja" -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DPYTHON_EXECUTABLE=`which python` -DDOWNLOAD_GTEST=ON
4242

4343
- name: Install
4444
working-directory: build

test/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ else()
8080
endif()
8181

8282
find_package(Threads)
83-
find_package(pybind11 REQUIRED)
84-
find_package(Python REQUIRED COMPONENTS Interpreter Development NumPy)
8583

8684
include_directories(${GTEST_INCLUDE_DIRS})
8785

@@ -95,7 +93,7 @@ set(XTENSOR_PYTHON_TESTS
9593
)
9694

9795
add_executable(test_xtensor_python ${XTENSOR_PYTHON_TESTS} ${XTENSOR_PYTHON_HEADERS})
98-
target_link_libraries(test_xtensor_python xtensor-python ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${PYTHON_LIBRARIES} Python::Python Python::NumPy)
96+
target_link_libraries(test_xtensor_python xtensor-python ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${PYTHON_LIBRARIES})
9997

10098
if(DOWNLOAD_GTEST OR GTEST_SRC_DIR)
10199
add_dependencies(test_xtensor_python gtest_main)

0 commit comments

Comments
 (0)