CMake/Tests/ExportImport
Brad King aea1b03617 Fix export of STATIC library PRIVATE dependencies with CMP0022 NEW
The target_link_libraries command records the PRIVATE dependencies of a
STATIC library in INTERFACE_LINK_LIBRARIES as "$<LINK_ONLY:dep>".  This
hides the target name from export namespacing logic inside a generator
expression.  When user-written generator expressions reference a target
name they must put it inside a "$<TARGET_NAME:dep>" expression to allow
the export logic to rename the target.  In the case that the private
dependency is not already a generator expression, target_link_libraries
must use "$<LINK_ONLY:$<TARGET_NAME:dep>>" to allow the export logic to
rename the target.

Reported-by: Tamás Kenéz <tamas.kenez@gmail.com>
2016-01-15 10:18:53 -05:00
..
Export Fix export of STATIC library PRIVATE dependencies with CMP0022 NEW 2016-01-15 10:18:53 -05:00
Import Tests: Use a less strict regular expression to look for "SONAME" 2015-09-01 10:30:09 -04:00
CMakeLists.txt Tests: Add generator platform support 2014-09-10 11:21:50 -04:00
InitialCache.cmake.in Tests: Rename CMAKE_TEST_MAKEPROGRAM uses for nested test projects 2014-03-03 15:26:48 -05:00
main.c