[cmake-developers] New find module: FindGLEW.cmake

Rolf Eike Beer eike at sf-mail.de
Thu Aug 30 07:00:48 EDT 2012


Alexander Neundorf wrote:
> On Wednesday 29 August 2012, Benjamin Eikel wrote:
> > Dear CMake developers,
> > 
> > I have written a find module for the OpenGL Extension Wrangler (GLEW) [1]
> > library (see attachment). I tried to follow all the instructions that I
> > have found. I am willing to maintain that module. Unfortunately, the
> > header file "glew.h" does not contain any version information. I could
> 
> Cool :-)
> From looking a bit around on the web, it seems other alternative names for
> the glew library are "glew" and "glew32s"
> Maybe you can add those two names to the find_library() call ?
> 
> > extract version information using PkgConfig, but I have in mind that using
> > PkgConfig is discouraged. I am looking forward to your feedback.
> 
> If possible, it'd be nice to do that without pkg-config, that's right.
> glew.h on my system contains several version-related macros, isn't any of
> these usable ?

Why? My guess would be to check whatever works, i.e. test pkg-config first and 
if that doesn't give anything suitable then do the normal scanning.

Or did you mean "do not _require_ pkg-config"?

Eike
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120830/2882a74b/attachment.sig>


More information about the cmake-developers mailing list