mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Correct MacOS version detection
First version of MacOS Sierra have Darwin version 16.0.0, not 16.1.0 Wiki info https://ru.wikipedia.org/wiki/Darwin#Хронология_версий
This commit is contained in:
parent
49bab773fd
commit
c4138f6486
@ -1,5 +1,5 @@
|
||||
if (APPLE)
|
||||
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin" AND NOT "${CMAKE_SYSTEM_VERSION}" VERSION_LESS "16.1.0")
|
||||
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin" AND NOT "${CMAKE_SYSTEM_VERSION}" VERSION_LESS "16.0.0")
|
||||
set (APPLE_SIERRA_OR_NEWER 1)
|
||||
else ()
|
||||
set (APPLE_SIERRA_OR_NEWER 0)
|
||||
|
Loading…
Reference in New Issue
Block a user