← Back to team overview

kicad-developers team mailing list archive

GLEW not found by cmake + fix

 

Running a very common Ubuntu 12.4.3 building from repo did not work.
Could not find the GLEW library.
Adding this patch fixed it.
Greetings,
Edwin van den Oetelaar

bzr diff
=== modified file 'CMakeModules/FindGLEW.cmake'
--- CMakeModules/FindGLEW.cmake 2013-08-27 08:32:39 +0000
+++ CMakeModules/FindGLEW.cmake 2013-11-02 11:13:42 +0000
@@ -67,6 +67,8 @@
     FIND_LIBRARY( GLEW_GLEW_LIBRARY GLEW
       /usr/openwin/lib
       /usr/X11R6/lib
+      /usr/lib
+      /usr/lib/x86_64-linux-gnu
     )

   ENDIF (APPLE)

Follow ups