File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 41
41
run : |
42
42
$cmakeBuildType = '${{ matrix.config }}'
43
43
44
- cmake "-DCMAKE_BUILD_TYPE=$cmakeBuildType" -G Ninja ${{ github.workspace }}
44
+ cmake "-DCMAKE_BUILD_TYPE=$cmakeBuildType" "-DGRAPHQL_BUILD_HTTP_SAMPLE=OFF" -G Ninja ${{ github.workspace }}
45
45
46
46
- name : Build
47
47
working-directory : build/
Original file line number Diff line number Diff line change @@ -9,9 +9,12 @@ add_subdirectory(today)
9
9
add_subdirectory (validation )
10
10
11
11
if (GRAPHQL_BUILD_HTTP_SAMPLE )
12
- if (EXISTS "${Boost_INCLUDE_DIR} /boost/beast.hpp" )
13
- add_subdirectory (proxy )
14
- else ()
15
- message (WARNING "GRAPHQL_BUILD_HTTP_SAMPLE requires the Boost.Beast header-only library. Not found in ${Boost_INCLUDE_DIR} ." )
12
+ find_package (Boost QUIET )
13
+ if (Boost_FOUND )
14
+ if (Boost_VERSIION VERSION_GREATER_EQUAL "1.81.0" AND EXISTS "${Boost_INCLUDE_DIR} /boost/beast.hpp" )
15
+ add_subdirectory (proxy )
16
+ else ()
17
+ message (WARNING "GRAPHQL_BUILD_HTTP_SAMPLE requires the Boost.Beast header-only library >= 1.81.0, but it was not found in ${Boost_INCLUDE_DIR} ." )
18
+ endif ()
16
19
endif ()
17
20
endif ()
You can’t perform that action at this time.
0 commit comments