mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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}'")
|