Skip to content

Commit c45816f

Browse files
committed
[FORK][FIX] Add dl library when ITT is used
1 parent 3ab1dd8 commit c45816f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ if(DNNL_ENABLE_JIT_PROFILING OR DNNL_ENABLE_ITT_TASKS)
4040
endif()
4141
list(APPEND SOURCES ${ITT_PT})
4242
endif()
43+
44+
set_property(GLOBAL APPEND PROPERTY DNNL_SUBDIR_EXTRA_SHARED_LIBS ${CMAKE_DL_LIBS})
4345
endif()
4446
endif()
4547

0 commit comments

Comments
 (0)