mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
define BOOST_SYSTEM_NO_DEPRECATED to fix build some binaries
This commit is contained in:
parent
b113a7a473
commit
ee9cd22656
@ -61,6 +61,10 @@ if (NOT $ENV{USE_INTERNAL_BOOST_LIBRARY})
|
||||
set (USE_INTERNAL_BOOST_LIBRARY FALSE)
|
||||
endif ()
|
||||
|
||||
if (USE_INTERNAL_BOOST_LIBRARY)
|
||||
add_definitions(-DBOOST_SYSTEM_NO_DEPRECATED)
|
||||
endif ()
|
||||
|
||||
option (GLIBC_COMPATIBILITY "Set to TRUE to enable compatibility with older glibc libraries. Note that it is not compatible with ASan." OFF)
|
||||
if ($ENV{GLIBC_COMPATIBILITY})
|
||||
set (GLIBC_COMPATIBILITY TRUE)
|
||||
|
Loading…
Reference in New Issue
Block a user