build: enable Ubuntu 22.04
@@ -51,6 +51,8 @@ if(LSB_RELEASE_EXE)
set(JSON_C_DEBIAN_PACKAGE "libjson-c3")
elseif(${LSB_RELEASE_NUMBER} STREQUAL "19.10" OR ${LSB_RELEASE_NUMBER} STREQUAL "20.04")
set(JSON_C_DEBIAN_PACKAGE "libjson-c4")
+ elseif(${LSB_RELEASE_NUMBER} STREQUAL "22.04")
+ set(JSON_C_DEBIAN_PACKAGE "libjson-c5")
else()
message(WARNING "Unrecognized Ubuntu version: ${LSB_RELEASE_NUMBER}. Defaulting to ${JSON_C_DEBIAN_PACKAGE}")
endif()
