clapper-app: Retain compatibility with older graphviz

This commit is contained in:
Rafał Dzięgiel
2025-07-19 12:49:01 +02:00
parent 54f059aaa3
commit 5f8270f0e8
2 changed files with 12 additions and 0 deletions

View File

@@ -105,6 +105,9 @@ if not pp_option.disabled()
if cgraph_dep.found() and gvc_dep.found()
clapperapp_c_args += ['-DHAVE_GRAPHVIZ']
clapperapp_deps += [cgraph_dep, gvc_dep]
if gvc_dep.version().version_compare('>= 13.0.0')
clapperapp_c_args += ['-DHAVE_GVC_13']
endif
clapperapp_available_functionalities += 'pipeline-preview'
elif pp_option.enabled()
error('pipeline-preview option was enabled, but required dependencies were not found')