mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-22 15:58:41 -05:00
58aa659bf8
On macOS, `sw_vers` may print to `stderr` based on environment variables like `MallocGuardEdges=1`. Add a test to verify that we do not capture that as part of the information it prints to `stdout`. Issue: #26466
4 lines
161 B
CMake
4 lines
161 B
CMake
set(ENV{MallocGuardEdges} 1) # test tolerating sw_vers stderr
|
|
cmake_host_system_information(RESULT os_name QUERY OS_NAME)
|
|
message(STATUS "os_name='${os_name}'")
|