1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-02-07 00:47:26 +00:00

CMake: use imported target for pybind11.

This accounts for the use of either the system or the vendored pybind11.

Fixes #1428.
This commit is contained in:
Catherine
2025-01-21 14:28:09 +00:00
parent 284fb3e874
commit 43b2f38520

View File

@@ -76,6 +76,6 @@ target_link_libraries(nextpnr_kernel INTERFACE
if (BUILD_PYTHON) if (BUILD_PYTHON)
target_link_libraries(nextpnr_kernel INTERFACE target_link_libraries(nextpnr_kernel INTERFACE
pybind11_headers pybind11::headers
) )
endif() endif()