File tree Expand file tree Collapse file tree 4 files changed +12
-22
lines changed Expand file tree Collapse file tree 4 files changed +12
-22
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,12 @@ endif()
13
13
14
14
if (GRAPHQL_BUILD_HTTP_SAMPLE )
15
15
find_package (boost_beast CONFIG QUIET )
16
- if (Boost_FOUND )
17
- if (Boost_VERSION VERSION_GREATER_EQUAL "1.81.0" )
18
- try_compile (TEST_RESULT
19
- ${CMAKE_CURRENT_BINARY_DIR}
20
- ${CMAKE_CURRENT_SOURCE_DIR} /../cmake/test_boost_beast.cpp
21
- CMAKE_FLAGS -DINCLUDE_DIRECTORIES:STRING=${Boost_INCLUDE_DIRS}
22
- CXX_STANDARD 20 )
23
-
24
- if (TEST_RESULT )
25
- message (STATUS "Using Boost.Beast ${Boost_VERSION} " )
26
- add_subdirectory (proxy )
27
- else ()
28
- message (WARNING "GRAPHQL_BUILD_HTTP_SAMPLE requires the Boost.Beast header-only library and a toolchain that supports co_await in Boost.Asio." )
29
- endif ()
16
+ if (boost_beast_FOUND )
17
+ if (boost_beast_VERSION VERSION_GREATER_EQUAL "1.81.0" )
18
+ message (STATUS "Using Boost.Beast ${boost_beast_VERSION} " )
19
+ add_subdirectory (proxy )
30
20
else ()
31
- message (WARNING "GRAPHQL_BUILD_HTTP_SAMPLE requires the Boost.Beast header-only library >= 1.81.0, but only ${Boost_VERSION } was found in ${Boost_INCLUDE_DIR} ." )
21
+ message (WARNING "GRAPHQL_BUILD_HTTP_SAMPLE requires the Boost.Beast header-only library >= 1.81.0, but only ${boost_beast_VERSION } was found." )
32
22
endif ()
33
23
endif ()
34
24
endif ()
Original file line number Diff line number Diff line change 18
18
#include < string>
19
19
#include < vector>
20
20
21
- // Check if the library version is compatible with clientgen 4.5 .0
22
- static_assert (graphql::internal::MajorVersion == 4 , " regenerate with clientgen: major version mismatch" );
23
- static_assert (graphql::internal::MinorVersion == 5 , " regenerate with clientgen: minor version mismatch" );
21
+ // Check if the library version is compatible with clientgen 5.0 .0
22
+ static_assert (graphql::internal::MajorVersion == 5 , " regenerate with clientgen: major version mismatch" );
23
+ static_assert (graphql::internal::MinorVersion == 0 , " regenerate with clientgen: minor version mismatch" );
24
24
25
25
namespace graphql ::client {
26
26
Original file line number Diff line number Diff line change 19
19
#include < string>
20
20
#include < string_view>
21
21
22
- // Check if the library version is compatible with schemagen 4.5 .0
23
- static_assert (graphql::internal::MajorVersion == 4 , " regenerate with schemagen: major version mismatch" );
24
- static_assert (graphql::internal::MinorVersion == 5 , " regenerate with schemagen: minor version mismatch" );
22
+ // Check if the library version is compatible with schemagen 5.0 .0
23
+ static_assert (graphql::internal::MajorVersion == 5 , " regenerate with schemagen: major version mismatch" );
24
+ static_assert (graphql::internal::MinorVersion == 0 , " regenerate with schemagen: minor version mismatch" );
25
25
26
26
namespace graphql {
27
27
namespace proxy {
Original file line number Diff line number Diff line change 9
9
10
10
export module GraphQL.Proxy.ProxySchema;
11
11
12
- namespace included = graphql::proxy ;
12
+ export import GraphQL.Proxy.QueryObject ;
13
13
14
14
export namespace graphql ::proxy {
15
15
You can’t perform that action at this time.
0 commit comments