Alex Merry wrote: > I'm not sure the term REQUIRED_IF_USED is clear enough - I'm certainly > confused by quite what you mean by it.
You'll find it if you grep for it in cmake.git. > The main reason for keeping policies around, as I see it, is to allow old > projects to keep building with newer versions of CMake. Actually the reason is to give projects notification and time to port to the NEW behavior, while also making it possible for them to get OLD behavior if they are close to their own release and can't port at that time. Setting a policy to REQUIRED_IF_USED in the cmake source means that if someone tries cmake_policy(SET CMP0011 OLD) they will get an informative error instead of no warning. Thanks, Steve. -- 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