[Bf-committers] How to tell cmake to use system glew

Campbell Barton ideasman42 at gmail.com
Wed Apr 6 01:32:43 CEST 2011


Hi Richard,
added WITH_BUILTIN_GLEW option to CMake r36024 which can be disabled
to link against the systems GLEW library.

On Tue, Apr 5, 2011 at 6:36 PM, Richard Shaw <hobbes1069 at gmail.com> wrote:
> I'm trying to get my blender package for Fedora to meet the packaging
> guidelines (which are quite extensive).
>
> One of the things I'm fighting with is that building things in
> statically should be avoided (like openCOLLADA).
>
> The problem I'm fighting now is that Fedora provides a glew package
> but I'm not sure how to make cmake use the system installation over
> the extern/glew version.
>
> When I look at the CMakeLists.txt I see that many of them have options
> which I'm assuming can be set ON/OFF with a cmake option, but glew
> does not seem to have an options.
>
> I'm not a C programmer so please excuse me if I'm not using the
> correct terminology.
>
> Thanks,
> Richard
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell


More information about the Bf-committers mailing list