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 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
Original file line number Diff line number Diff line change 8080endif ()
8181
8282find_package (Threads)
83- find_package (pybind11 REQUIRED)
84- find_package (Python REQUIRED COMPONENTS Interpreter Development NumPy)
8583
8684include_directories (${GTEST_INCLUDE_DIRS} )
8785
@@ -95,7 +93,7 @@ set(XTENSOR_PYTHON_TESTS
9593)
9694
9795add_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
10098if (DOWNLOAD_GTEST OR GTEST_SRC_DIR)
10199 add_dependencies (test_xtensor_python gtest_main)
You can’t perform that action at this time.
0 commit comments