From 43b2f385205743ffa6e6dcfa0ad5b98008e95843 Mon Sep 17 00:00:00 2001 From: Catherine Date: Tue, 21 Jan 2025 14:28:09 +0000 Subject: [PATCH] CMake: use imported target for pybind11. This accounts for the use of either the system or the vendored pybind11. Fixes #1428. --- common/kernel/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/kernel/CMakeLists.txt b/common/kernel/CMakeLists.txt index d813d684..e9eb4f1f 100644 --- a/common/kernel/CMakeLists.txt +++ b/common/kernel/CMakeLists.txt @@ -76,6 +76,6 @@ target_link_libraries(nextpnr_kernel INTERFACE if (BUILD_PYTHON) target_link_libraries(nextpnr_kernel INTERFACE - pybind11_headers + pybind11::headers ) endif()