Just use targets. Your support libraries should have targets that you use like:
target_link_libraries (aoc-2022 PRIVATE cgs fruity)
and that should be it. The cgs
and fruity
targets should set their own include directories, which propagate to targets that link against them.