Commit 1d74ba21 authored by Stephen Kelly's avatar Stephen Kelly Committed by Brad King
Browse files

Test evaluation target via export for generator expressions

parent 522bdac1
...@@ -186,7 +186,7 @@ set_property(TARGET testSharedLibDepends APPEND PROPERTY ...@@ -186,7 +186,7 @@ set_property(TARGET testSharedLibDepends APPEND PROPERTY
) )
set_property(TARGET testSharedLibDepends APPEND PROPERTY set_property(TARGET testSharedLibDepends APPEND PROPERTY
LINK_INTERFACE_LIBRARIES 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. # LINK_PRIVATE because the LINK_INTERFACE_LIBRARIES is specified above.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment