mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-02-06 16:45:14 +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:
@@ -76,6 +76,6 @@ target_link_libraries(nextpnr_kernel INTERFACE
|
||||
|
||||
if (BUILD_PYTHON)
|
||||
target_link_libraries(nextpnr_kernel INTERFACE
|
||||
pybind11_headers
|
||||
pybind11::headers
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user