Skip to content

Commit f73cb11

Browse files
committed
Avoid -ldl if not required or not supported
ld: error: unable to find library -ldl
1 parent 046e9af commit f73cb11

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

147147
target_link_libraries(${EXE_NAME}
148148
pthread
149-
dl
149+
${CMAKE_DL_LIBS}
150150
)
151151

152152
add_custom_target(Run_ULT ALL DEPENDS GMMULT)

0 commit comments

Comments
 (0)