Skip to content

try_run: Add RUN_OUTPUT_STDOUT_VARIABLE and RUN_OUTPUT_STDERR_VARIABLE variables.

patlefort requested to merge patlefort/cmake:try_run_split_output into master

This MR simply add these 2 variables for the try_run command. This help cross-compiling as Wine will in some cases print things to stderr and might confuse some builds. I think most build really only need to read stdout.

Fixes: #23673 (closed)

Edited by Brad King

Merge request reports