diff options
author | Brad King <brad.king@kitware.com> | 2022-08-01 17:56:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-08-01 18:13:03 (GMT) |
commit | b8e551ed320569b3ca0fd68477c5fa951baa5095 (patch) | |
tree | 0c0d379368662ce7abb39167a44251ada9c965b2 /Tests/RunCMake/try_run/NoRunOutputVariable.cmake | |
parent | 514804c8bcfd26a675dcaceaa719a632a21894b2 (diff) | |
download | CMake-b8e551ed320569b3ca0fd68477c5fa951baa5095.zip CMake-b8e551ed320569b3ca0fd68477c5fa951baa5095.tar.gz CMake-b8e551ed320569b3ca0fd68477c5fa951baa5095.tar.bz2 |
Tests: Add RunCMake.try_run cases for missing keyword arguments
Diffstat (limited to 'Tests/RunCMake/try_run/NoRunOutputVariable.cmake')
-rw-r--r-- | Tests/RunCMake/try_run/NoRunOutputVariable.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_run/NoRunOutputVariable.cmake b/Tests/RunCMake/try_run/NoRunOutputVariable.cmake new file mode 100644 index 0000000..25310d8 --- /dev/null +++ b/Tests/RunCMake/try_run/NoRunOutputVariable.cmake @@ -0,0 +1,4 @@ +try_run(RUN_RESULT COMPILE_RESULT + ${CMAKE_CURRENT_BINARY_DIR}/CMakeTmp ${CMAKE_CURRENT_SOURCE_DIR}/src.c + RUN_OUTPUT_VARIABLE + ) |