contrib/wordnet-blast: use hidden library

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
Azat Khuzhin 2022-01-20 17:30:21 +03:00
parent bd8b42241b
commit d7bacb6611

View File

@ -6,7 +6,7 @@ set(SRCS
"${LIBRARY_DIR}/wnb/core/wordnet.cc"
)
add_library(wnb ${SRCS})
target_link_libraries(wnb PRIVATE boost::headers_only boost::graph)
target_include_directories(wnb SYSTEM PUBLIC "${LIBRARY_DIR}")
add_library(ch_contrib::wnb ALIAS wnb)
add_library(_wnb ${SRCS})
target_link_libraries(_wnb PRIVATE boost::headers_only boost::graph)
target_include_directories(_wnb SYSTEM PUBLIC "${LIBRARY_DIR}")
add_library(ch_contrib::wnb ALIAS _wnb)