Silence spurious warning and enable JSON_DIAGNOSTICS everywhere

This commit is contained in:
Guillaume Meunier
2024-11-26 23:59:35 +01:00
committed by Patrick Nicolas
parent 8a48f8ff7b
commit d2ff28f988
4 changed files with 7 additions and 6 deletions
+2
View File
@@ -68,6 +68,8 @@ target_link_libraries(wivrn-dashboard PRIVATE
wivrn-common-base
)
target_compile_definitions(wivrn-dashboard PRIVATE JSON_DIAGNOSTICS=1)
if (WIVRN_CHECK_CAPSYSNICE)
target_link_libraries(wivrn-dashboard PRIVATE PkgConfig::libcap)
endif()