Skip to content

Commit cedb2d2

Browse files
authored
Merge pull request #62 from Bjoe/fix-without-rapidjson-build
Switch off samples if no graphqljson is build
2 parents 942c335 + 201eda0 commit cedb2d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ if(BUILD_GRAPHQLJSON)
116116
CONFIGURATIONS Release)
117117
else()
118118
set(GRAPHQL_BUILD_TESTS OFF CACHE BOOL "GRAPHQL_BUILD_TESTS depends on BUILD_GRAPHQLJSON" FORCE)
119+
set(GRAPHQL_UPDATE_SAMPLES OFF CACHE BOOL "GRAPHQL_UPDATE_SAMPLES depends on BUILD_GRAPHQLJSON" FORCE)
119120
endif()
120121

121122
install(TARGETS

0 commit comments

Comments
 (0)