File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ endif()
3737option (GRAPHQL_BUILD_SCHEMAGEN "Build the schemagen tool." ON )
3838option (GRAPHQL_BUILD_CLIENTGEN "Build the clientgen tool." ON )
3939option (GRAPHQL_BUILD_TESTS "Build the tests and sample schema library." ON )
40+ option (GRAPHQL_USE_RAPIDJSON "Use RapidJSON for JSON serialization." ON )
4041
4142if (GRAPHQL_BUILD_SCHEMAGEN)
4243 list (APPEND VCPKG_MANIFEST_FEATURES "schemagen" )
@@ -50,6 +51,10 @@ if(GRAPHQL_BUILD_TESTS)
5051 list (APPEND VCPKG_MANIFEST_FEATURES "tests" )
5152endif ()
5253
54+ if (GRAPHQL_USE_RAPIDJSON)
55+ list (APPEND VCPKG_MANIFEST_FEATURES "rapidjson" )
56+ endif ()
57+
5358if (GRAPHQL_BUILD_SCHEMAGEN AND GRAPHQL_BUILD_CLIENTGEN)
5459 option (GRAPHQL_UPDATE_SAMPLES "Regenerate the sample schema sources whether or not we're building the tests." ON )
5560
Original file line number Diff line number Diff line change @@ -379,8 +379,6 @@ endif()
379379# You will also need to define how to build the graphqljson library target with your
380380# implementation, and you should set BUILD_GRAPHQLJSON so that the test dependencies know
381381# about your version of graphqljson.
382- option (GRAPHQL_USE_RAPIDJSON "Use RapidJSON for JSON serialization." ON )
383-
384382if (GRAPHQL_USE_RAPIDJSON)
385383 find_package (RapidJSON CONFIG REQUIRED)
386384
Original file line number Diff line number Diff line change 2020 " gtest"
2121 ]
2222 },
23+ "rapidjson" : {
24+ "description" : " Build the graphqljson library with RapidJSON." ,
25+ "dependencies" : [
26+ " rapidjson"
27+ ]
28+ },
2329 "update-samples" : {
2430 "description" : " Regenerate the sample schema sources whether or not we're building the tests." ,
2531 "dependencies" : [
4147 }
4248 },
4349 "dependencies" : [
44- " pegtl" ,
45- " rapidjson"
50+ " pegtl"
4651 ],
4752 "builtin-baseline" : " a618637937298060bdbe5fbcfb628eabd1082c8a"
4853}
You can’t perform that action at this time.
0 commit comments