Policy Scope/Stack

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Policy Scope/Stack

Andrew Bell
Hi,

I'm setting policy through a file included with NO_POLICY_SCOPE, but
I'm still having trouble with cmake complaining that a policy isn't
set in a particular instance.  Is there a way I can dump the policy
stack or might someone have another suggesting on how to debug a
problem where a policy isn't set though I think it should be?  In
particular, I'm dealing with CMP0042 and the documentation isn't clear
which command (add_library() or target_link_library()) might be
causing the policy warning.

Thanks,

--
Andrew Bell
[hidden email]
--

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