mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
77bd2624ea
* Fix building without submodules * Fix more gcc9 warnings * was wrong! ../dbms/src/IO/WriteBufferAIO.cpp:277:54: error: result of comparison 'ssize_t' (aka 'long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare] if ((static_cast<ssize_t>(flush_buffer.offset()) > std::numeric_limits<off_t>::max()) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * mimalloc off MI_OVERRIDE * Fix freebsd build * Fix shared build * Fix build in gcc9 * Fix split build * fix * fix * fix * fix * clean * zstd * Update CMakeLists.txt * Update Defines.h * Try fix -Wsign-compare * Freebsd fix * Add missing libs * Fix double-conversion include for copy-headers * Fix zlib link * Fix includes for arcadia * Fix includes for arcadia * Fix includes for arcadia * Freebsd fix * Arcadia fixes * Update QueryProfiler.cpp * Freebsd fix * clean * 19.11: Fixes for arcadia porting (#6223) * fix glibc-compatibility * M_LIBRARY fix * wip * Fix * Fix arm build * unwind fix * Update CMakeLists.txt
39 lines
1.2 KiB
CMake
39 lines
1.2 KiB
CMake
|
|
# TODO? Maybe recursive collect on all deps
|
|
|
|
get_property (dirs1 TARGET dbms PROPERTY INCLUDE_DIRECTORIES)
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
get_property (dirs1 TARGET clickhouse_common_io PROPERTY INCLUDE_DIRECTORIES)
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
get_property (dirs1 TARGET common PROPERTY INCLUDE_DIRECTORIES)
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
get_property (dirs1 TARGET cityhash PROPERTY INCLUDE_DIRECTORIES)
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
get_property (dirs1 TARGET roaring PROPERTY INCLUDE_DIRECTORIES)
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
if (TARGET double-conversion)
|
|
get_property (dirs1 TARGET double-conversion PROPERTY INCLUDE_DIRECTORIES)
|
|
list(APPEND dirs ${dirs1})
|
|
endif ()
|
|
|
|
if (TARGET ${Boost_PROGRAM_OPTIONS_LIBRARY})
|
|
get_property (dirs1 TARGET ${Boost_PROGRAM_OPTIONS_LIBRARY} PROPERTY INCLUDE_DIRECTORIES)
|
|
list(APPEND dirs ${dirs1})
|
|
endif ()
|
|
|
|
if (USE_INTERNAL_POCO_LIBRARY)
|
|
list(APPEND dirs "./contrib/poco/Foundation/include")
|
|
endif ()
|
|
|
|
list(REMOVE_DUPLICATES dirs)
|
|
file (WRITE ${CMAKE_CURRENT_BINARY_DIR}/include_directories.txt "")
|
|
foreach (dir ${dirs})
|
|
string (REPLACE "${ClickHouse_SOURCE_DIR}" "." dir "${dir}")
|
|
file (APPEND ${CMAKE_CURRENT_BINARY_DIR}/include_directories.txt "-I ${dir} ")
|
|
endforeach ()
|