diff options
author | Brad King <brad.king@kitware.com> | 2013-05-15 19:19:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-05-31 14:00:42 (GMT) |
commit | b680824a5fdcc54c265c64ce8958f9d80acad70d (patch) | |
tree | 8e3cc0c24ccea5ad0294e191eb3f05a69a97fc69 /Tests/RunCMake/try_compile/BadLinkLibraries-stderr.txt | |
parent | 5377ac42896402510571fa0ee26c6bf32f132e21 (diff) | |
download | CMake-b680824a5fdcc54c265c64ce8958f9d80acad70d.zip CMake-b680824a5fdcc54c265c64ce8958f9d80acad70d.tar.gz CMake-b680824a5fdcc54c265c64ce8958f9d80acad70d.tar.bz2 |
try_compile: Add test for bad call error cases
Add a RunCMake.try_compile test to cover cases of bad invocation of the
try_compile command.
Diffstat (limited to 'Tests/RunCMake/try_compile/BadLinkLibraries-stderr.txt')
-rw-r--r-- | Tests/RunCMake/try_compile/BadLinkLibraries-stderr.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/BadLinkLibraries-stderr.txt b/Tests/RunCMake/try_compile/BadLinkLibraries-stderr.txt new file mode 100644 index 0000000..eceffec --- /dev/null +++ b/Tests/RunCMake/try_compile/BadLinkLibraries-stderr.txt @@ -0,0 +1,5 @@ +CMake Error at BadLinkLibraries.cmake:2 \(try_compile\): + Only libraries may be used as try_compile IMPORTED LINK_LIBRARIES. Got + not_a_library of type UTILITY. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) |