mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix building with bitbake when villas-fpga is used
This commit is contained in:
parent
831a6824bd
commit
4de57668c5
2 changed files with 5 additions and 1 deletions
|
@ -137,6 +137,10 @@ if(LIBNL3_ROUTE_FOUND)
|
|||
list(APPEND LIBRARIES PkgConfig::LIBNL3_ROUTE)
|
||||
endif()
|
||||
|
||||
if(WITH_FPGA)
|
||||
list(APPEND LIBRARIES villas-fpga)
|
||||
endif()
|
||||
|
||||
add_library(villas SHARED ${LIB_SRC})
|
||||
|
||||
target_include_directories(villas PUBLIC ${INCLUDE_DIRS})
|
||||
|
|
|
@ -172,7 +172,7 @@ endif()
|
|||
# Enable VILLASfpga support
|
||||
if(WITH_NODE_FPGA)
|
||||
list(APPEND NODE_SRC fpga.cpp)
|
||||
list(APPEND LIBRARIES villas-fpga)
|
||||
list(APPEND INCLUDE_DIRS $<TARGET_PROPERTY:villas-fpga,INCLUDE_DIRECTORIES>)
|
||||
endif()
|
||||
|
||||
add_library(nodes STATIC ${NODE_SRC})
|
||||
|
|
Loading…
Add table
Reference in a new issue