Skip to content

Commit f1d84ac

Browse files
committed
Avoid -ldl if not required or not supported
ld: error: unable to find library -ldl
1 parent 5a26a68 commit f1d84ac

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
@@ -139,7 +139,7 @@ target_link_libraries(${EXE_NAME} igfx_gmmumd_dll)
139139

140140
target_link_libraries(${EXE_NAME}
141141
pthread
142-
dl
142+
${CMAKE_DL_LIBS}
143143
)
144144

145145
add_custom_target(Run_ULT ALL DEPENDS GMMULT)

0 commit comments

Comments
 (0)