mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Remove invalid IOS setting for RocksDB CMAKE to fix Apple M1 build
This commit is contained in:
parent
e0dfc9cd38
commit
d19ee89d9d
@ -127,11 +127,6 @@ endif()
|
|||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
||||||
add_definitions(-DOS_MACOSX)
|
add_definitions(-DOS_MACOSX)
|
||||||
if(CMAKE_SYSTEM_PROCESSOR MATCHES arm)
|
|
||||||
add_definitions(-DIOS_CROSS_COMPILE -DROCKSDB_LITE)
|
|
||||||
# no debug info for IOS, that will make our library big
|
|
||||||
add_definitions(-DNDEBUG)
|
|
||||||
endif()
|
|
||||||
elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||||
add_definitions(-DOS_LINUX)
|
add_definitions(-DOS_LINUX)
|
||||||
elseif(CMAKE_SYSTEM_NAME MATCHES "SunOS")
|
elseif(CMAKE_SYSTEM_NAME MATCHES "SunOS")
|
||||||
|
Loading…
Reference in New Issue
Block a user