Am Freitag, 17. Juni 2016, 13:02:30 schrieb Stuart Mentzer: > On 6/17/2016 11:54 AM, Brad King wrote: > On 06/12/2016 01:52 PM, Stuart Mentzer wrote: > Looking at FindZlib.cmake I think the attached should be OK > Thanks. I've applied that as a patch here: > > FindFreetype: Find release and debug libraries separately > https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b213a7f6 > > -Brad > Thanks but a line was lost in translation at the bottom: > > mark_as_advanced( > FREETYPE_LIBRARY > FREETYPE_INCLUDE_DIR_freetype2 > FREETYPE_INCLUDE_DIR_ft2build > ) > > SLC handles mark_as_advanced for the _DEBUG and _RELEASE variables but I > assume we still need the base variable handled in FindFreetype. > > With that fix, if Eike is OK with this then it is done.
No, this is actually correct. The things marked as advanced are cache variables. FREETYPE_LIBRARY is computed dynamically. The "advanced" thing is to hide these in the default view of cmake-gui. If Brad says the change of what is cached is ok I'm entirely fine with it. Eike
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers