Closed old-memories closed 2 years ago
Building libublksrv(/lib) requires only one c++ file: ublksrv_json.cpp, which depends on include/nlohmann/json.hpp. As doc of nlohmann/json.hpp says, it only requires c++11, so change cppflags for libublksrv from c++20 to c++11.
Signed-off-by: Ziyang Zhang ZiyangZhang@linux.alibaba.com
Building libublksrv(/lib) requires only one c++ file: ublksrv_json.cpp, which depends on include/nlohmann/json.hpp. As doc of nlohmann/json.hpp says, it only requires c++11, so change cppflags for libublksrv from c++20 to c++11.
Signed-off-by: Ziyang Zhang ZiyangZhang@linux.alibaba.com