mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
7 lines
338 B
CMake
7 lines
338 B
CMake
get_property (dirs DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dbms PROPERTY INCLUDE_DIRECTORIES)
|
|
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 ()
|