mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 12:01:58 +00:00
64194c9b03
* Updating poco part 1: use submodule * switch to tmp submodule * update submodule * wip * wip * wip * wip * wip * fix * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * test * wip * wip * wip * wip * wip * wip * Remove werror * wip * wip * wip * wip * wip * Block pipe signal * Update poco * Update and fix poco * Better sigpipe handler * Better block sigpipe * Update BaseDaemon.cpp
25 lines
775 B
CMake
25 lines
775 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})
|
|
|
|
if (USE_INTERNAL_BOOST_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 ()
|