Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Link libamd_comgr on the COMGR path #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion api/opencl/amdocl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ add_library(amdocl64 SHARED
${ADDITIONAL_LIBRARIES}
)
if(${USE_COMGR_LIBRARY} MATCHES "yes")
target_link_libraries(amdocl64 oclelf pthread dl ${ROCT_LIBRARIES} ${ROCR_LIBRARIES})
target_link_libraries(amdocl64 $<TARGET_OBJECTS:amd_comgr> oclelf pthread dl ${ROCT_LIBRARIES} ${ROCR_LIBRARIES})
else()
target_link_libraries(amdocl64 opencl_driver oclelf pthread dl ${ROCT_LIBRARIES} ${ROCR_LIBRARIES})
endif()