Brad King wrote: > On 9/26/2011 7:28 AM, Stephen Kelly wrote: >> In KDE we set the LINK_INTERFACE_LIBRARIES to empty in a wrapper around >> add_library. > [snip] >> set(CMAKE_SET_LINK_INTERFACE_EMPTY ON) >> >> cause the LINK_INTERFACE to be empty for all shared library targets be >> accepted into CMake? > > Sure. I think the simplest interface is to define a variable whose value > is used as the property default for LINK_INTERFACE_LIBRARIES: > > set(CMAKE_LINK_INTERFACE_LIBRARIES "")
I pushed this to stage as cmake-link-interface-libraries. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
