Skip to content

Commit 978f7d5

Browse files
committed
Avoid -ldl if not required or not supported
ld: error: unable to find library -ldl
1 parent a758099 commit 978f7d5

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

157157
target_link_libraries(${EXE_NAME}
158158
pthread
159-
dl
159+
${CMAKE_DL_LIBS}
160160
)
161161

162162
add_custom_target(Run_ULT ALL DEPENDS GMMULT)

0 commit comments

Comments
 (0)