diff --git a/src/runtime_src/core/pcie/emulation/hw_emu/CMakeLists.txt b/src/runtime_src/core/pcie/emulation/hw_emu/CMakeLists.txt index 5bf04bbd6c3..b13b8be7715 100644 --- a/src/runtime_src/core/pcie/emulation/hw_emu/CMakeLists.txt +++ b/src/runtime_src/core/pcie/emulation/hw_emu/CMakeLists.txt @@ -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 @@ -57,6 +61,8 @@ target_link_libraries(xrt_hwemu_static INTERFACE boost_system ${PROTOBUF_LIBRARY} + absl::log + absl::check xrt_coreutil_static rt uuid diff --git a/src/runtime_src/core/pcie/emulation/sw_emu/CMakeLists.txt b/src/runtime_src/core/pcie/emulation/sw_emu/CMakeLists.txt index 247b50602c1..058f077d4af 100644 --- a/src/runtime_src/core/pcie/emulation/sw_emu/CMakeLists.txt +++ b/src/runtime_src/core/pcie/emulation/sw_emu/CMakeLists.txt @@ -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 @@ -53,6 +57,8 @@ target_link_libraries(xrt_swemu_static INTERFACE boost_system ${PROTOBUF_LIBRARY} + absl::log + absl::check xrt_coreutil_static rt uuid