str_view provides CMake targets:

  find_package(str_view CONFIG REQUIRED)
  target_link_libraries(main PRIVATE str_view::str_view)
