Skip to content

Commit

Permalink
SWDEV-442738 - Link amd_comgr with dependent libraries
Browse files Browse the repository at this point in the history
Change-Id: Ibbda20e72ce652f37a580a18d31e225e8793bb34
(cherry picked from commit bfd2b62b590828c7c7d3da105e032654ae806387)
  • Loading branch information
raramakr authored and lamb-j committed May 15, 2024
1 parent 16d808d commit c7a0cc5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions amd/comgr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,13 @@ if (NOT UNIX)
PRIVATE version)
endif()

target_link_libraries(amd_comgr
PRIVATE
pthread
rt
c
${CMAKE_DL_LIBS})

include(CTest)
if(BUILD_TESTING)
add_custom_target(check-comgr COMMAND ${CMAKE_CTEST_COMMAND} DEPENDS amd_comgr)
Expand Down

0 comments on commit c7a0cc5

Please sign in to comment.