From 69ac7a934c76e080dda67243003eedd2b2e57094 Mon Sep 17 00:00:00 2001 From: Antonio Vanegas Date: Tue, 9 Oct 2018 16:49:19 -0500 Subject: [PATCH] fix for android building --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b0d2e512..c0f4dbc0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -417,7 +417,9 @@ if(CMAKE_SYSTEM_NAME MATCHES "SunOS" OR CMAKE_SYSTEM_NAME MATCHES "NetBSD") endif() endif() -zmq_check_noexcept() +if(NOT ANDROID) + zmq_check_noexcept() +endif() #----------------------------------------------------------------------------- if(NOT CMAKE_CROSSCOMPILING AND NOT MSVC)