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()
37
37
option (GRAPHQL_BUILD_SCHEMAGEN "Build the schemagen tool." ON )
38
38
option (GRAPHQL_BUILD_CLIENTGEN "Build the clientgen tool." ON )
39
39
option (GRAPHQL_BUILD_TESTS "Build the tests and sample schema library." ON )
40
+ option (GRAPHQL_USE_RAPIDJSON "Use RapidJSON for JSON serialization." ON )
40
41
41
42
if (GRAPHQL_BUILD_SCHEMAGEN )
42
43
list (APPEND VCPKG_MANIFEST_FEATURES "schemagen" )
@@ -50,6 +51,10 @@ if(GRAPHQL_BUILD_TESTS)
50
51
list (APPEND VCPKG_MANIFEST_FEATURES "tests" )
51
52
endif ()
52
53
54
+ if (GRAPHQL_USE_RAPIDJSON )
55
+ list (APPEND VCPKG_MANIFEST_FEATURES "rapidjson" )
56
+ endif ()
57
+
53
58
if (GRAPHQL_BUILD_SCHEMAGEN AND GRAPHQL_BUILD_CLIENTGEN )
54
59
option (GRAPHQL_UPDATE_SAMPLES "Regenerate the sample schema sources whether or not we're building the tests." ON )
55
60
Original file line number Diff line number Diff line change @@ -379,8 +379,6 @@ endif()
379
379
# You will also need to define how to build the graphqljson library target with your
380
380
# implementation, and you should set BUILD_GRAPHQLJSON so that the test dependencies know
381
381
# about your version of graphqljson.
382
- option (GRAPHQL_USE_RAPIDJSON "Use RapidJSON for JSON serialization." ON )
383
-
384
382
if (GRAPHQL_USE_RAPIDJSON )
385
383
find_package (RapidJSON CONFIG REQUIRED )
386
384
Original file line number Diff line number Diff line change 20
20
" gtest"
21
21
]
22
22
},
23
+ "rapidjson" : {
24
+ "description" : " Build the graphqljson library with RapidJSON." ,
25
+ "dependencies" : [
26
+ " rapidjson"
27
+ ]
28
+ },
23
29
"update-samples" : {
24
30
"description" : " Regenerate the sample schema sources whether or not we're building the tests." ,
25
31
"dependencies" : [
41
47
}
42
48
},
43
49
"dependencies" : [
44
- " pegtl" ,
45
- " rapidjson"
50
+ " pegtl"
46
51
],
47
52
"builtin-baseline" : " a618637937298060bdbe5fbcfb628eabd1082c8a"
48
53
}
You can’t perform that action at this time.
0 commit comments