[cmake-developers] CMP0043 warnings everywhere

James Bigler jamesbigler at gmail.com
Wed Apr 23 12:57:21 EDT 2014


I'm getting tons of CMP0043 warnings on my existing project.

I have cmake_policy(VERSION 2.6) set in my project.  Why am I being
pestered by warnings?  Shouldn't I get a policy value appropriate for 2.6
(so CMP0043 should be set to OLD)?

CMake Warning (dev) in src/CMakeLists.txt:
Policy CMP0043 is not set: Ignore COMPILE_DEFINITIONS_<Config> properties.
Run "cmake --help-policy CMP0043" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.

I'm using 3.0.0-rc4 I grabbed off the file site on windows 7 + VS 2012.

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140423/df45293c/attachment.html>


More information about the cmake-developers mailing list