From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Alex Myczko <tar@debian.org>
Date: Apr, 19 2026 19:34:46 +0200
Subject: [PATCH] <short summary of the patch>

TODO: Put a short summary on the line above and replace this paragraph
with a longer explanation of this change. Complete the meta-information
with other relevant fields (see below for details). To make it easier, the
information below has been extracted from the changelog. Adjust it or drop
it.

Bug-Debian: https://bugs.debian.org/1125959
---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-<Vendor>: <vendor-bugtracker-url>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>

--- nvbandwidth-0.9+ds.orig/CMakeLists.txt
+++ nvbandwidth-0.9+ds/CMakeLists.txt
@@ -55,7 +55,6 @@ endif()
 find_package(Boost COMPONENTS program_options REQUIRED)
 
 find_package(jsoncpp REQUIRED)
-target_link_libraries(nvbandwidth PRIVATE JsonCpp::JsonCpp)
 
 set(src
     environment.cpp
@@ -89,6 +88,7 @@ endif()
 add_executable(nvbandwidth ${src})
 target_include_directories(nvbandwidth PRIVATE ${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES} .)
 target_link_libraries(nvbandwidth Boost::program_options ${NVML_LIB_NAME} cuda)
+target_link_libraries(nvbandwidth PRIVATE JsonCpp::JsonCpp)
 
 if (MULTINODE)
     find_package(MPI REQUIRED)
