[CMake] Setting Policy CMP0028

pierre.andersson at se.atlascopco.com pierre.andersson at se.atlascopco.com
Fri Jul 11 05:00:39 EDT 2014



I have a very large project that is built with CMake, and I'm trying to
make it work a little nicer with CMake 3. Right now we, we see everal
warnigns that policy CMP0028 is not set.

Using

cmake_policy(SET CMP0028 OLD)

does not seem to take effect. It's set at the same, top level, place where
other policies are set and these do take effect. Likewise, setting the
policy to NEW does not make CMake produce the fatal error like the
documentation says it should. What am I missing here?

Regards,
Pierre Andersson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140711/340331e8/attachment.html>


More information about the CMake mailing list