summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/TwoArgs.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-05-15 19:19:20 (GMT)
committerBrad King <brad.king@kitware.com>2013-05-31 14:00:42 (GMT)
commitb680824a5fdcc54c265c64ce8958f9d80acad70d (patch)
tree8e3cc0c24ccea5ad0294e191eb3f05a69a97fc69 /Tests/RunCMake/try_compile/TwoArgs.cmake
parent5377ac42896402510571fa0ee26c6bf32f132e21 (diff)
downloadCMake-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/TwoArgs.cmake')
-rw-r--r--Tests/RunCMake/try_compile/TwoArgs.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/TwoArgs.cmake b/Tests/RunCMake/try_compile/TwoArgs.cmake
new file mode 100644
index 0000000..7f2212d
--- /dev/null
+++ b/Tests/RunCMake/try_compile/TwoArgs.cmake
@@ -0,0 +1 @@
+try_compile(RESULT ${CMAKE_CURRENT_BINARY_DIR})