$OpenBSD: patch-examples_SimpleOpenGL3_CMakeLists_txt,v 1.1 2017/04/24 18:09:25 pascal Exp $
--- examples/SimpleOpenGL3/CMakeLists.txt.orig	Thu Apr 13 20:13:21 2017
+++ examples/SimpleOpenGL3/CMakeLists.txt	Thu Apr 13 20:13:30 2017
@@ -37,7 +37,7 @@ ELSE(WIN32)
 		ADD_DEFINITIONS("-DGLEW_STATIC")
 		ADD_DEFINITIONS("-DGLEW_DYNAMIC_LOAD_ALL_GLX_FUNCTIONS=1")
 
-		LINK_LIBRARIES( X11 pthread dl Xext)
+		LINK_LIBRARIES( X11 pthread Xext)
 	ENDIF(APPLE)
 ENDIF(WIN32)
 
