forked from microsoft/cppgraphqlgen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
22 lines (19 loc) · 703 Bytes
/
CMakeLists.txt
File metadata and controls
22 lines (19 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
cmake_minimum_required(VERSION 3.28)
add_subdirectory(today)
add_subdirectory(client)
add_subdirectory(learn)
add_subdirectory(stitched)
add_subdirectory(validation)
if(GRAPHQL_BUILD_HTTP_SAMPLE)
find_package(boost_beast CONFIG QUIET)
if(boost_beast_FOUND)
if(boost_beast_VERSION VERSION_GREATER_EQUAL "1.81.0")
message(STATUS "Using Boost.Beast ${boost_beast_VERSION}")
add_subdirectory(proxy)
else()
message(WARNING "GRAPHQL_BUILD_HTTP_SAMPLE requires the Boost.Beast header-only library >= 1.81.0, but only ${boost_beast_VERSION} was found.")
endif()
endif()
endif()