From ef2854d1a24c044b1fe741276214bc0cb70ee81f Mon Sep 17 00:00:00 2001 From: unsatcore Date: Mon, 11 Mar 2024 23:09:47 +0300 Subject: [PATCH 1/2] Add explicit absl dependency Add explicit dependency on absl::log and absl::check --- src/runtime_src/core/pcie/emulation/sw_emu/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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 From bb7411c322de047a77a4fcc50efb9b1f72dc3cbf Mon Sep 17 00:00:00 2001 From: unsatcore Date: Mon, 11 Mar 2024 23:11:15 +0300 Subject: [PATCH 2/2] Add explicit dependency on absl Add explicit dependency on absl::log and absl::check --- src/runtime_src/core/pcie/emulation/hw_emu/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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