On 6/17/2016 1:12 PM, Brad King wrote:
On 06/17/2016 01:02 PM, Stuart Mentzer wrote:
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.
I dropped it intentionally. We no longer add FREETYPE_LIBRARY to
the cache, so we are not responsible for marking it as advanced.
We only use the value if it was set by someone else.
-Brad
Ah, OK. This doesn't match the usage in FindZlib that I was using as a guide:
mark_as_advanced(ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Stuart
--
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