summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_run/BadLinkLibraries-stderr.txt
diff options
context:
space:
mode:
authorMatt McCormick <matt.mccormick@kitware.com>2015-01-23 00:13:56 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-26 15:05:30 (GMT)
commit223c5cb70b30b6a790fd916321f60c86d459e15e (patch)
tree3c92140db3446f2ccabb60ff5ee4a75820e4dd39 /Tests/RunCMake/try_run/BadLinkLibraries-stderr.txt
parente2b1f0583f7293bce280dfab397e96acf8a5b26e (diff)
downloadCMake-223c5cb70b30b6a790fd916321f60c86d459e15e.zip
CMake-223c5cb70b30b6a790fd916321f60c86d459e15e.tar.gz
CMake-223c5cb70b30b6a790fd916321f60c86d459e15e.tar.bz2
try_run: Add test for bad link libraries.
Based off the corresponding try_compile test.
Diffstat (limited to 'Tests/RunCMake/try_run/BadLinkLibraries-stderr.txt')
-rw-r--r--Tests/RunCMake/try_run/BadLinkLibraries-stderr.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_run/BadLinkLibraries-stderr.txt b/Tests/RunCMake/try_run/BadLinkLibraries-stderr.txt
new file mode 100644
index 0000000..dcd1bfc
--- /dev/null
+++ b/Tests/RunCMake/try_run/BadLinkLibraries-stderr.txt
@@ -0,0 +1,5 @@
+CMake Error at BadLinkLibraries.cmake:2 \(try_run\):
+ Only libraries may be used as try_compile or try_run IMPORTED
+ LINK_LIBRARIES. Got not_a_library of type UTILITY.
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)