On 11/09/2016 01:28 PM, maikel van den Hurk wrote: >> Stephen Kelly wrote: >> I believe it's because of a chicken-egg concern - the link libraries are the >> basis for transitivity for other properties. I remember discussing that in >> the mailing list back in the design phase. > > When trying to remove the limitation I couldn't find any issue actually.
I think what may have happened was that originally we attempted to make the value of each usage requirement property itself (get_property) have the transitive closure already filled out. Later we changed to making the property itself non-transitive but have the genex evaluation take care of transitivity instead. This means there is no chicken-n-egg problem for LINK_LIBRARIES anymore. > I can make a PR on gitlab which will make this possible. Thanks. Note that changing $<TARGET_PROPERTY:LINK_LIBRARIES> behavior will require a policy. -Brad -- 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-developers