mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
ac178bde1f
* Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM * Fix lib find order * Allow define non-contrib cityhash farmhash metrohash * Fix message * Cmake: fixes * clean * Update CMakeLists.txt
16 lines
509 B
CMake
16 lines
509 B
CMake
|
|
# TODO? Maybe recursive collect on all deps
|
|
|
|
get_property (dirs1 TARGET dbms PROPERTY INCLUDE_DIRECTORIES)
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
get_property (dirs1 TARGET common PROPERTY INCLUDE_DIRECTORIES)
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
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 ()
|