<div dir="ltr">I'm getting a new warning from cmake version 2.8.12 <div><br></div><div>Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link interface. etc...</div><div><br></div><div>Target "xxx" has an INTERFACE_LINK_PROPERTIES property ...</div><div><br></div><div>I've not set this property anywhere explicitly. I'm getting the warning from a target_link_libraries call where the library is a target defined in the same CMakeLists.txt file. Why am I getting this warning?</div><div><br></div><div>Furthermore, if I set the cmake_policy as requested, I still get the same warning, with the same message that the cmake_policy has not been set. I do:</div><div>cmake_policy (SET CMP0022 NEW)</div><div>cmake_policy (GET CMP0022 Foo)</div><div>message (STATUS "${Foo}")</div><div><br></div><div>The message shows that CMP0022 is NEW, yet I still get the message that its undefiined. What am I doing wrong?</div><div><br></div><div>--Jack</div></div>