We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca93049 commit 8340c74Copy full SHA for 8340c74
test/CMakeLists.txt
@@ -95,7 +95,7 @@ set(XTENSOR_PYTHON_TESTS
95
)
96
97
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} pybind11::module Python::NumPy)
+target_link_libraries(test_xtensor_python xtensor-python ${GTEST_BOTH_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${PYTHON_LIBRARIES} Python::Python Python::NumPy)
99
100
if(DOWNLOAD_GTEST OR GTEST_SRC_DIR)
101
add_dependencies(test_xtensor_python gtest_main)
0 commit comments