diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-06-14 14:25:29 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-06-24 14:22:15 (GMT) |
commit | ff015ee11e66388f50f9a1350e2731e7a240ccb1 (patch) | |
tree | 9774652c1b86df3287def9599276c8827a1cd4e9 /Tests/RunCMake/Languages/RunCMakeTest.cmake | |
parent | b58aff90c5a3633ae7fa0d78731433d40a02d8bd (diff) | |
download | CMake-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/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/Languages/RunCMakeTest.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/Languages/RunCMakeTest.cmake b/Tests/RunCMake/Languages/RunCMakeTest.cmake index 59ef5dc..6517a81 100644 --- a/Tests/RunCMake/Languages/RunCMakeTest.cmake +++ b/Tests/RunCMake/Languages/RunCMakeTest.cmake @@ -2,3 +2,5 @@ include(RunCMake) run_cmake(NoLangSHARED) run_cmake(LINK_LANGUAGE-genex) +run_cmake(link-libraries-TARGET_FILE-genex) +run_cmake(link-libraries-TARGET_FILE-genex-ok) |