build: clenaup dependencies

This commit is contained in:
Roland Conybeare 2023-10-03 17:36:50 -04:00
commit ac265dc2b7
2 changed files with 3 additions and 2 deletions

View file

@ -7,7 +7,8 @@ set_target_properties(${SELF_LIBRARY_NAME}
VERSION ${PROJECT_VERSION}
SOVERSION 1)
xo_indentlog_dependency(${SELF_LIBRARY_NAME})
xo_internal_dependency(${SELF_LIBRARY_NAME} indentlog)
#xo_indentlog_dependency(${SELF_LIBRARY_NAME})
xo_include_options(${SELF_LIBRARY_NAME})
xo_compile_options(${SELF_LIBRARY_NAME})

View file

@ -35,7 +35,7 @@ target_link_libraries(${SELF_EXECUTABLE_NAME} PUBLIC refcnt)
# ----------------------------------------------------------------
# 3rd part dependency: catch2:
find_package(Catch2 2 REQUIRED)
xo_external_target_dependency(${SELF_EXECUTABLE_NAME} Catch2 Catch2::Catch2)
# need this so that catch2/include appears in compile_commands.json,
# on which lsp integration relies.