mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
4db8d09de9
* Make libunwind optional. Allow use custom libcctz * fix * Fix * fix * Update BaseDaemon.cpp * Update CMakeLists.txt * Reorganize includes. part 1 * Update dbms_include.cmake * Reorganize includes. part 2 * Reorganize includes. part 3 * dbms/src/Common/ThreadPool -> libs/libcommon * Reorganize includes. part 4 * Fix print_include_directories * Update thread_creation_latency.cpp * Update StringRef.h
8 lines
342 B
CMake
8 lines
342 B
CMake
get_property (dirs TARGET dbms PROPERTY INCLUDE_DIRECTORIES)
|
|
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 ()
|