CMake/Tests/RunCMake/TargetPropertyGeneratorExpr.../LinkImplementationCycle1.cmake

9 lines
181 B
CMake

add_library(empty1 empty.cpp)
add_library(empty2 empty.cpp)
target_link_libraries(empty1
LINK_PUBLIC
$<$<STREQUAL:$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>,/foo/bar>:empty2>
)