[CMake] CMP0020 warning

Scott Aron Bloom scott.bloom at onshorecs.com
Mon Oct 27 13:38:51 EDT 2014


The warning message for CMP0020 seems to be completely random as to where you actually have to set the policy.

Im not getting the warning on my main executables, but cant seem to get rid of it on any of my Qt based unittests (using gmock/gtest )

I have the following line, in various places in the system,
        cmake_policy(SET CMP0020 NEW)

but is there any documentation on where it MUST be set???

Scott



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20141027/46149c88/attachment.html>


More information about the CMake mailing list