Then use the this library without having to worry about the specifics of where it's located.
target_include_directories(my_project
PUBLIC
${CMAKE_SOURCE_DIR}/include
PRIVATE
csv
)
target_link_libraries(my_project PRIVATE csv)
This would also greatly simplify including this in an existing project as the user would not have to manually clone the repo as if it were part of the code base they're maintaining.
Avoid having consumers need to know or declare internal structure of project.
E.g. a project that is using this library could then get the library using FetchContent_Declare
Then use the this library without having to worry about the specifics of where it's located.
This would also greatly simplify including this in an existing project as the user would not have to manually clone the repo as if it were part of the code base they're maintaining.