diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8083cee0..43fe7a82 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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}) diff --git a/utest/CMakeLists.txt b/utest/CMakeLists.txt index 74706592..cfdf594a 100644 --- a/utest/CMakeLists.txt +++ b/utest/CMakeLists.txt @@ -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.