From 953ecf8079845ddfd8d31d62c945c9a5206b2199 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Wed, 6 Mar 2024 00:21:04 +0800 Subject: [PATCH] it to support new vcpkg that it's jsoncpp library --- .gitignore | 2 ++ src/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..17cb031 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/3rdpty/expat +/3rdpty/jsoncpp diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9789728..ff4a874 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -123,5 +123,5 @@ if(CM_UTIL_SUPPORT_XML) endif() IF(CM_UTIL_SUPPORT_JSON) - target_link_libraries(CMUtil PRIVATE jsoncpp_lib jsoncpp_object JsonCpp::JsonCpp) + target_link_libraries(CMUtil PRIVATE JsonCpp::JsonCpp) ENDIF(CM_UTIL_SUPPORT_JSON)