[cmake-developers] [PATCH] add debug glew to FindGLEW

Brad King brad.king at kitware.com
Tue Jun 21 09:36:31 EDT 2016


On 06/21/2016 05:33 AM, Farbos a wrote:
> I am not sure to understand why you removed GLEW_LIBRARY:
> 
> -mark_as_advanced(GLEW_INCLUDE_DIR GLEW_LIBRARY)
> +mark_as_advanced(GLEW_INCLUDE_DIR)

We no longer define the GLEW_LIBRARY cache entry ourselves, only
read it for legacy reasons, so we are not responsible for marking
it advanced.

See discussion about the same thing in FindFreetype here:

 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/16573/focus=16709

I've updated FindZLIB accordingly:

 FindZLIB: Do not mark unused variable as advanced
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4bb83514

-Brad



More information about the cmake-developers mailing list