Test evaluation target via export for generator expressions

This commit is contained in:
Stephen Kelly authored and Brad King committed 2013-01-15 14:36:22 -05:00
1 parent 522bdac149
commit 1d74ba21f6
1 file changed
+1 -1
+1 -1
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.