Greetings, Not sure how to address the following to the maintainer of FindFreetype, so sending it to this list...
FindFreetype unconditionally sets FREETYPE_LIBRARIES to whatever FREETYPE_LIBRARY is, even when it is not found. Many other FindXXX modules wrap the creation of their XXX_LIBRARIES variable in an IF(XXX_FOUND) block. This reduces the complexity of specifying which libraries to link a target against when that list contains optional libraries. Attached is a patch that modifies FindFreetype to follow this convention as well. Please consider making this change. -- Fred
FindFreetype.diff
Description: FindFreetype.diff
_______________________________________________ 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://www.cmake.org/mailman/listinfo/cmake
