summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-02 13:54:50 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-07-02 13:54:50 (GMT)
commit2ea0d6ba278e67f1fd6f2f78f2df9951a46eb4a4 (patch)
tree11045a52cf8ebb6ff2543c6443fc2d1d5710da3e /Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1.cmake
parente2a12b8a58e0b96ef974463d4412fa804e3af297 (diff)
parent65aa5442b72aa8dda61088bdc0ffa2aa45965646 (diff)
downloadCMake-2ea0d6ba278e67f1fd6f2f78f2df9951a46eb4a4.zip
CMake-2ea0d6ba278e67f1fd6f2f78f2df9951a46eb4a4.tar.gz
CMake-2ea0d6ba278e67f1fd6f2f78f2df9951a46eb4a4.tar.bz2
Merge topic 'fix-circular-transitive-properties-segfault'
65aa5442 Target: Return null when a transitive property is not defined. 61ce6547 Genex: Fix stack overflow in transitive property evaluation.
Diffstat (limited to 'Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1.cmake')
-rw-r--r--Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1.cmake
new file mode 100644
index 0000000..4b60214
--- /dev/null
+++ b/Tests/RunCMake/TargetPropertyGeneratorExpressions/LinkImplementationCycle1.cmake
@@ -0,0 +1,8 @@
+
+add_library(empty1 empty.cpp)
+add_library(empty2 empty.cpp)
+
+target_link_libraries(empty1
+ LINK_PUBLIC
+ $<$<STREQUAL:$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>,/foo/bar>:empty2>
+)