Test evaluation target via export for generator expressions
This commit is contained in:
parent
522bdac149
commit
1d74ba21f6
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue