Yan LR: Ignore error output of `ldd`
@@ -187,7 +187,8 @@ if ("${CMAKE_SYSTEM_NAME}" STREQUAL Linux AND NOT ${ENABLE_ASAN})
execute_process (
COMMAND ldd --version
RESULT_VARIABLE ANTLR4_NOT_AVAILABLE
- OUTPUT_VARIABLE LDD_OUTPUT)
+ OUTPUT_VARIABLE LDD_OUTPUT
+ ERROR_QUIET)
if ("${LDD_OUTPUT}" MATCHES "GLIBC|GNU libc")
set (TEST_ARGUMENTS "")
endif ("${LDD_OUTPUT}" MATCHES "GLIBC|GNU libc")
