On 06/10/2016 03:19 AM, Stuart Mentzer wrote: > On 6/10/2016 2:45 AM, Rolf Eike Beer wrote: >> I'm sure I also wrote "you probably need to set/unset >> FREETYPE_LIBRARY_RELEASE around SLC so it still works", >> The point here is that you can't change the variable name >> that is used in find_library() as it would break compatibility. > > Is there someone who can just do what is needed and let us be done with this?
Eike, IIRC what we've done for other modules is change the cache entries to use ${pkg}_LIBRARY_{RELEASE,DEBUG} and then provided compatibility with scripts that explicitly set ${pkg}_LIBRARY by using the value if set and skipping the search. See FindZLIB for an example of this. -Brad -- 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