Message: previous - next
Month: December 2013

Re: [trinity-devel] tdelibs FTBFS: cmake 2.8.12: INTERFACE_LINK_LIBRARIES vs. LINK_INTERFACE_LIBRARIES

From: "Darrell Anderson" <darrella@...>
Date: Mon, 09 Dec 2013 14:59:40 -0600
>IMO, the better fix would be something like next snip (not tested 
>cmake_policy(SET CMP0022 OLD)
>target_link_libraries( ${_target} LINK_INTERFACE_LIBRARIES 
>${_shared_libs} )

I tried this proposed solution with tdelibs. I still saw the 
CMP0022 output spew.

Regardless, this bug needs attention, even if the final patch is 
not pushed immediately to git for R14. Digging deeper in why 
tdelibs now FTBFS on my system with cmake 2.8.12, I found this 
message in the build log:

CMake Error:
  Error evaluating generator expression:


  $<LINK_ONLY> expression requires exactly one parameter.

This is the closest related online conversation I found: