Browse Source

fixes jsoncpp on_test (#6561)

Elite-stay 6 months ago
parent
commit
657e484f02
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/j/jsoncpp/xmake.lua

+ 1 - 0
packages/j/jsoncpp/xmake.lua

@@ -38,6 +38,7 @@ package("jsoncpp")
         assert(package:check_cxxsnippets({
             test = [[
                 #include <iostream>
+                #include <memory>
                 #include <assert.h>
                 static void test() {
                     const std::string rawJson = R"({"Age": 20, "Name": "colin"})";