[CMake] Policy CMP0020 setting is ignored

Dominik Bernhardt dominik.lists at dokabe.de
Wed Jan 15 11:07:35 EST 2014


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



More information about the CMake mailing list