mirror of
https://github.com/gflags/gflags.git
synced 2025-04-05 05:25:04 +00:00
fix: Don’t care about buggy Android toolchain
This commit is contained in:
parent
90e80e8f56
commit
ef1a2eccd2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue