diff options
Diffstat (limited to 'Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1.cmake')
-rw-r--r-- | Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1.cmake b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1.cmake new file mode 100644 index 0000000..775e5a0 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_PROPERTY/LinkImplementationCycle1.cmake @@ -0,0 +1,11 @@ +enable_language(CXX) +add_library(empty1 empty.cpp) +add_library(empty2 empty.cpp) + +target_link_libraries(empty1 + LINK_PUBLIC + $<$<STREQUAL:$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>,/foo/bar>:empty2> +) + +# Suppress generator-specific targets that might pollute the stderr. +set(CMAKE_SUPPRESS_REGENERATION TRUE) |