On 2/17/2012 5:07 AM, Alexander Neundorf wrote:
The documentation page says: "The REQUIRED option stops processing with an
error message if the package cannot be found."
I interpret this as "stops processing immediately".
This has always been the intended meaning. The idea is that code following
the line can be written without checking whether the package was FOUND
and assume certain variables are set. If you want other behavior then
do not pass REQUIRED and check if(...FOUND) manually.
-Brad
--
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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers