I'm getting a new warning from cmake version 2.8.12
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. etc...
Target "xxx" has an INTERFACE_LINK_PROPERTIES property ...
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?
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:
cmake_policy (SET CMP0022 NEW)
cmake_policy (GET CMP0022 Foo)
message (STATUS "${Foo}")
The message shows that CMP0022 is NEW, yet I still get the message that its
undefiined. What am I doing wrong?
--Jack
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake