File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 38
38
ninja
39
39
40
40
- 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
42
42
43
43
- name : Install
44
44
working-directory : build
Original file line number Diff line number Diff line change 80
80
endif ()
81
81
82
82
find_package (Threads )
83
- find_package (pybind11 REQUIRED )
84
- find_package (Python REQUIRED COMPONENTS Interpreter Development NumPy )
85
83
86
84
include_directories (${GTEST_INCLUDE_DIRS} )
87
85
@@ -95,7 +93,7 @@ set(XTENSOR_PYTHON_TESTS
95
93
)
96
94
97
95
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} )
99
97
100
98
if (DOWNLOAD_GTEST OR GTEST_SRC_DIR )
101
99
add_dependencies (test_xtensor_python gtest_main )
You can’t perform that action at this time.
0 commit comments