ClickHouse/contrib/magic-enum-cmake/CMakeLists.txt
Azat Khuzhin 6f161092d2 contrib/magic-enum: use hidden library
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-01-21 10:11:23 +03:00

5 lines
232 B
CMake

set(LIBRARY_DIR "${ClickHouse_SOURCE_DIR}/contrib/magic_enum")
add_library(_magic_enum INTERFACE)
target_include_directories(_magic_enum SYSTEM INTERFACE ${LIBRARY_DIR}/include)
add_library(ch_contrib::magic_enum ALIAS _magic_enum)