summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/try_compile/NoOutputVariable.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/try_compile/NoOutputVariable.cmake')
-rw-r--r--Tests/RunCMake/try_compile/NoOutputVariable.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/NoOutputVariable.cmake b/Tests/RunCMake/try_compile/NoOutputVariable.cmake
new file mode 100644
index 000000000..3b9cb345b
--- /dev/null
+++ b/Tests/RunCMake/try_compile/NoOutputVariable.cmake
@@ -0,0 +1,2 @@
+try_compile(RESULT ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/src.c
+ OUTPUT_VARIABLE)