Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explicit dependency on absl for xrt_swemu abd xrt_hwemu targets #8002

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/runtime_src/core/pcie/emulation/hw_emu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,14 @@ add_library(xrt_hwemu_static STATIC ${CURR_SOURCE}
set_target_properties(xrt_hwemu PROPERTIES VERSION ${XRT_VERSION_STRING}
SOVERSION ${XRT_SOVERSION})

find_package(absl REQUIRED)

target_link_libraries(xrt_hwemu
PRIVATE
${Boost_SYSTEM_LIBRARY}
${PROTOBUF_LIBRARY}
absl::log
absl::check
xrt_coreutil
common_em
rt
Expand All @@ -57,6 +61,8 @@ target_link_libraries(xrt_hwemu_static
INTERFACE
boost_system
${PROTOBUF_LIBRARY}
absl::log
absl::check
xrt_coreutil_static
rt
uuid
Expand Down
6 changes: 6 additions & 0 deletions src/runtime_src/core/pcie/emulation/sw_emu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,14 @@ add_library(xrt_swemu_static STATIC ${CURR_SOURCE}
set_target_properties(xrt_swemu PROPERTIES VERSION ${XRT_VERSION_STRING}
SOVERSION ${XRT_SOVERSION})

find_package(absl REQUIRED)

target_link_libraries(xrt_swemu
PRIVATE
${Boost_SYSTEM_LIBRARY}
${PROTOBUF_LIBRARY}
absl::log
absl::check
xrt_coreutil
common_em
rt
Expand All @@ -53,6 +57,8 @@ target_link_libraries(xrt_swemu_static
INTERFACE
boost_system
${PROTOBUF_LIBRARY}
absl::log
absl::check
xrt_coreutil_static
rt
uuid
Expand Down
Loading