summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_run/NoRunStdErrVariable.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/try_run/NoRunStdErrVariable.cmake')
-rw-r--r--Tests/RunCMake/try_run/NoRunStdErrVariable.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_run/NoRunStdErrVariable.cmake b/Tests/RunCMake/try_run/NoRunStdErrVariable.cmake
new file mode 100644
index 0000000..88c2a72
--- /dev/null
+++ b/Tests/RunCMake/try_run/NoRunStdErrVariable.cmake
@@ -0,0 +1,5 @@
+try_run(RUN_RESULT COMPILE_RESULT
+ ${CMAKE_CURRENT_BINARY_DIR}/CMakeTmp ${CMAKE_CURRENT_SOURCE_DIR}/src.c
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/CMakeTmp/workdir
+ RUN_OUTPUT_STDERR_VARIABLE
+ )