mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
contrib/yaml-cpp: use hidden library
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
d7bacb6611
commit
39b970698b
@ -39,9 +39,9 @@ set (SRCS
|
||||
${LIBRARY_DIR}/src/scantag.cpp
|
||||
)
|
||||
|
||||
add_library (yaml-cpp ${SRCS})
|
||||
add_library (_yaml_cpp ${SRCS})
|
||||
|
||||
target_include_directories(yaml-cpp PRIVATE ${LIBRARY_DIR}/include/yaml-cpp)
|
||||
target_include_directories(yaml-cpp SYSTEM BEFORE PUBLIC ${LIBRARY_DIR}/include)
|
||||
target_include_directories(_yaml_cpp PRIVATE ${LIBRARY_DIR}/include/yaml-cpp)
|
||||
target_include_directories(_yaml_cpp SYSTEM BEFORE PUBLIC ${LIBRARY_DIR}/include)
|
||||
|
||||
add_library (ch_contrib::yaml_cpp ALIAS yaml-cpp)
|
||||
add_library (ch_contrib::yaml_cpp ALIAS _yaml_cpp)
|
||||
|
Loading…
Reference in New Issue
Block a user