1 2 3 4
astr provides CMake targets: find_package(astr CONFIG REQUIRED) target_link_libraries(main PRIVATE a4z::astr)