Skip to content

Commit c272e0c

Browse files
committed
Avoid -ldl if not required or not supported
ld: error: unable to find library -ldl
1 parent 23df485 commit c272e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/GmmLib/ULT/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ target_link_libraries(${EXE_NAME} igfx_gmmumd_dll)
160160

161161
target_link_libraries(${EXE_NAME}
162162
pthread
163-
dl
163+
${CMAKE_DL_LIBS}
164164
)
165165

166166
add_custom_target(Run_ULT ALL DEPENDS GMMULT)

0 commit comments

Comments
 (0)