From 69b7770ec32dbda9d4fcca198e830f84256640fc Mon Sep 17 00:00:00 2001 From: Jukka Ojanen Date: Wed, 11 Mar 2015 18:50:27 +0200 Subject: Try to execute detection quietly without messages --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fa2a3f..12b3bf8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,8 +70,12 @@ if(NOT CMAKE_CROSSCOMPILING) # Determinate what floating-point hardware # (or hardware emulation) is available # - # Test compilation with -mfpu=neon cmake_push_check_state() + + # Try to execute quietly without messages + set(CMAKE_REQUIRED_QUIET 1) + + # Test compilation with -mfpu=neon set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -mfpu=neon") check_symbol_exists(exit stdlib.h NEON_AVAILABLE) if(NOT NEON_AVAILABLE) -- cgit v1.1