jigson provides CMake targets:
find_package(jigson CONFIG REQUIRED)
target_link_libraries(main PRIVATE jigson::jigson)