summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Languages/link-libraries-TARGET_FILE-genex-stderr.txt
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-06-14 14:25:29 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-06-24 14:22:15 (GMT)
commitff015ee11e66388f50f9a1350e2731e7a240ccb1 (patch)
tree9774652c1b86df3287def9599276c8827a1cd4e9 /Tests/RunCMake/Languages/link-libraries-TARGET_FILE-genex-stderr.txt
parentb58aff90c5a3633ae7fa0d78731433d40a02d8bd (diff)
downloadCMake-ff015ee11e66388f50f9a1350e2731e7a240ccb1.zip
CMake-ff015ee11e66388f50f9a1350e2731e7a240ccb1.tar.gz
CMake-ff015ee11e66388f50f9a1350e2731e7a240ccb1.tar.bz2
Genex: Report error if a target file is needed to evaluate link libraries.
Constructs such as target_link_libraries(foo $<$<STREQUAL:$<TARGET_FILE:foo>,foo.so>:bar>) segfault before this patch.
Diffstat (limited to 'Tests/RunCMake/Languages/link-libraries-TARGET_FILE-genex-stderr.txt')
-rw-r--r--Tests/RunCMake/Languages/link-libraries-TARGET_FILE-genex-stderr.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/Languages/link-libraries-TARGET_FILE-genex-stderr.txt b/Tests/RunCMake/Languages/link-libraries-TARGET_FILE-genex-stderr.txt
new file mode 100644
index 0000000..2d7a3c9
--- /dev/null
+++ b/Tests/RunCMake/Languages/link-libraries-TARGET_FILE-genex-stderr.txt
@@ -0,0 +1,7 @@
+CMake Error:
+ Error evaluating generator expression:
+
+ \$<TARGET_FILE:foo>
+
+ Expressions which require the linker language may not be used while
+ evaluating link libraries