astr provides CMake targets: find_package(astr CONFIG REQUIRED) target_link_libraries(main PRIVATE a4z::astr)