mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
cdfe62f303
This will includes at least [1]. [1]: https://github.com/ridiculousfish/libdivide/pull/94 v2: Define LIBDIVIDE_* macros mutually exclusive Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
8 lines
356 B
CMake
8 lines
356 B
CMake
set(LIBDIVIDE_SOURCE_DIR "${ClickHouse_SOURCE_DIR}/contrib/libdivide")
|
|
add_library (_libdivide INTERFACE)
|
|
# for libdivide.h
|
|
target_include_directories (_libdivide SYSTEM BEFORE INTERFACE ${LIBDIVIDE_SOURCE_DIR})
|
|
# for libdivide-config.h
|
|
target_include_directories (_libdivide SYSTEM BEFORE INTERFACE .)
|
|
add_library (ch_contrib::libdivide ALIAS _libdivide)
|