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 --
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers