From ef1a2eccd29bbcd915e995ef4c1956ab7da6593f Mon Sep 17 00:00:00 2001 From: Andreas Schuh Date: Sat, 26 Nov 2016 21:49:15 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20Don=E2=80=99t=20care=20about=20buggy=20A?= =?UTF-8?q?ndroid=20toolchain?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd8882f..bc8475a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,10 +92,10 @@ set (PACKAGE_DESCRIPTION "A commandline flags library that allows for distribute set (PACKAGE_URL "http://gflags.github.io/gflags") project (${PACKAGE_NAME} CXX) -if (CMAKE_VERSION VERSION_LESS 3.4 OR (ANDROID AND CMAKE_VERSION VERSION_LESS 3.7)) +if (CMAKE_VERSION VERSION_LESS 3.4) # C language still needed because the following required CMake modules # (or their dependencies, respectively) are not correctly handling - # the case where only CXX is enabled; same for Android toolchain before CMake 3.7 + # the case where only CXX is enabled # - CheckTypeSize.cmake (fixed in CMake 3.1, cf. https://cmake.org/Bug/view.php?id=14056) # - FindThreads.cmake (fixed in CMake 3.4, cf. https://cmake.org/Bug/view.php?id=14905) enable_language (C)