On Wednesday 18 of December 2013 23:22:13 Darrell Anderson wrote: > >Therefore, I have prepared a patch that could solve both of these > >problems. Please, test it. > > I started testing the patch in Slackware 14.1, which uses cmake > 2.8.12. I have not yet tested backwards compatibility with older > versions of cmake. > > Thus far I saw no cmake warnings in arts (good!), but tdelibs is > filled with many instances of a single CMP0022 warning: > > CMake Error: > Error evaluating generator expression: > > $<LINK_ONLY:-Wl,-whole-archive> > > $<LINK_ONLY> expression requires exactly one parameter. > > > CMake Warning (dev) in tdecore/tdehw/networkbackends/network- > manager/CMakeLists.txt: > Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the > link > interface. Run "cmake --help-policy CMP0022" for policy details. > Use the > cmake_policy command to set the policy and suppress this warning. > > Static library target "network_manager_backend-static" has a > INTERFACE_LINK_LIBRARIES property. This should be preferred as > the source > of the link interface for this library. Ignoring the property > and using > the link implementation as the link interface instead. > This warning is for project developers. Use -Wno-dev to suppress > it. > > > I am not seeing any of the original warning messages. > > Darrell > I think that this is a bug in cmake - see: http://cmake.org/gitweb?p=cmake.git;a=commit;h=239b0c6b0ed821fd012a2a980961b9a9d43793e5 You need update cmake to at least 2.8.12.1. Slavek --