mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +00:00
10 lines
321 B
CMake
10 lines
321 B
CMake
set(EIGEN_LIBRARY_DIR "${ClickHouse_SOURCE_DIR}/contrib/eigen")
|
|
|
|
add_library (_eigen INTERFACE)
|
|
|
|
# Only include MPL2 code from Eigen library
|
|
target_compile_definitions(_eigen INTERFACE EIGEN_MPL2_ONLY)
|
|
|
|
target_include_directories (_eigen SYSTEM INTERFACE ${EIGEN_LIBRARY_DIR})
|
|
add_library(ch_contrib::eigen ALIAS _eigen)
|