Skip to content

Commit

Permalink
[FORK][FIX] Add dl library when ITT is used
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Mar 9, 2024
1 parent 3ab1dd8 commit c45816f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ if(DNNL_ENABLE_JIT_PROFILING OR DNNL_ENABLE_ITT_TASKS)
endif()
list(APPEND SOURCES ${ITT_PT})
endif()

set_property(GLOBAL APPEND PROPERTY DNNL_SUBDIR_EXTRA_SHARED_LIBS ${CMAKE_DL_LIBS})
endif()
endif()

Expand Down

0 comments on commit c45816f

Please sign in to comment.