From 6f161092d2b11c601c5a6f75dacc161e3cb06c99 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Thu, 20 Jan 2022 17:24:38 +0300 Subject: [PATCH] contrib/magic-enum: use hidden library Signed-off-by: Azat Khuzhin --- contrib/magic-enum-cmake/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/magic-enum-cmake/CMakeLists.txt b/contrib/magic-enum-cmake/CMakeLists.txt index 86f92d6c2b4..f1face02de1 100644 --- a/contrib/magic-enum-cmake/CMakeLists.txt +++ b/contrib/magic-enum-cmake/CMakeLists.txt @@ -1,4 +1,4 @@ -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) +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)