From f01afc903087627c78a1335cb9010e40fbbf2839 Mon Sep 17 00:00:00 2001 From: Cole Richardson Date: Thu, 1 May 2025 15:38:20 -0400 Subject: [PATCH] use conan target for add jsoncpp support so that include directories are added in addition to libraries --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 89b608316a..c0645b8609 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -188,7 +188,7 @@ endif() # jsoncpp find_package(Jsoncpp REQUIRED) -target_link_libraries(${PROJECT_NAME} PUBLIC Jsoncpp_lib) +target_link_libraries(${PROJECT_NAME} PUBLIC JsonCpp::JsonCpp) list(APPEND INCLUDE_DIRS_FOR_DYNAMIC_VIEW ${JSONCPP_INCLUDE_DIRS}) # yamlcpp