picohttpparser provides CMake targets:
find_package(unofficial-picohttpparser CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::picohttpparser::picohttpparser)