Test evaluation target via export for generator expressions

This commit is contained in:
Stephen Kelly 2013-01-12 12:13:44 +01:00 committed by Brad King
parent 522bdac149
commit 1d74ba21f6
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ set_property(TARGET testSharedLibDepends APPEND PROPERTY
)
set_property(TARGET testSharedLibDepends APPEND PROPERTY
LINK_INTERFACE_LIBRARIES
$<1:$<TARGET_NAME:testSharedLibRequired>>
$<$<STREQUAL:$<TARGET_PROPERTY:TYPE>,EXECUTABLE>:$<TARGET_NAME:testSharedLibRequired>>
)
# LINK_PRIVATE because the LINK_INTERFACE_LIBRARIES is specified above.