summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_run/WorkingDirArg.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/try_run/WorkingDirArg.cmake')
-rw-r--r--Tests/RunCMake/try_run/WorkingDirArg.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/try_run/WorkingDirArg.cmake b/Tests/RunCMake/try_run/WorkingDirArg.cmake
index b583823..62f78e8 100644
--- a/Tests/RunCMake/try_run/WorkingDirArg.cmake
+++ b/Tests/RunCMake/try_run/WorkingDirArg.cmake
@@ -1,6 +1,6 @@
try_run(RUN_RESULT COMPILE_RESULT
${CMAKE_CURRENT_BINARY_DIR}/CMakeTmp ${CMAKE_CURRENT_SOURCE_DIR}/src.c
- RUN_OUTPUT_VARIABLE OUTPUT_VARIABLE
+ RUN_OUTPUT_VARIABLE RUN_OUTPUT
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/CMakeTmp/workdir
)