mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Fix bad USE_INTERNAL_GPERFTOOLS_LIBRARY not using UNBUNDLED
UNBUNDLED is supposed to set every USE_INTERNAL_* variables to 0. This is not the case with USE_INTERNAL_GPERFTOOLS_LIBRARY which only depends on wether we're running FreeBSD. This patch aims to: - set USE_INTERNAL_GPERFTOOLS_LIBRARY to 0 when running FreeBSD - set USE_INTERNAL_GPERFTOOLS_LIBRARY to NOT_UNBUNDLED for other systems
This commit is contained in:
parent
1491a383d2
commit
26ddf808b5
@ -73,11 +73,12 @@ option (USE_INTERNAL_POCO_LIBRARY "Set to FALSE to use system poco library inste
|
||||
|
||||
if (CMAKE_SYSTEM MATCHES "FreeBSD")
|
||||
set(NOT_FREEBSD 0)
|
||||
option (USE_INTERNAL_GPERFTOOLS_LIBRARY "Set to FALSE to use system gperftools (tcmalloc) library instead of bundled" ${NOT_FREEBSD})
|
||||
else ()
|
||||
set(NOT_FREEBSD 1)
|
||||
option (USE_INTERNAL_GPERFTOOLS_LIBRARY "Set to FALSE to use system gperftools (tcmalloc) library instead of bundled" ${NOT_UNBUNDLED})
|
||||
endif ()
|
||||
|
||||
option (USE_INTERNAL_GPERFTOOLS_LIBRARY "Set to FALSE to use system gperftools (tcmalloc) library instead of bundled" ${NOT_FREEBSD})
|
||||
|
||||
option (USE_INTERNAL_ZLIB_LIBRARY "Set to FALSE to use system zlib library instead of bundled" ${NOT_UNBUNDLED})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user