> Hi
>
> although I have "cmake_policy (SET CMP0020 NEW)" in my top level  
> CMakeLists.txt file I get a lot of warnings about "Policy CMP0020 is  
> not set..."
> After some testing it seems to me that the policy setting is only  
> respected for the configure but not for the generate step.
> Has anyone an idea what might be the cause?
>
> Dominik

A call to cmake_minimum_required() resets the policy setting.

Peter
-- 

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

Reply via email to