Skip to content

Commit 17dcab0

Browse files
committed
chore(modules): bump minimum CMake version for modules support
1 parent 681b0e1 commit 17dcab0

File tree

23 files changed

+23
-29
lines changed

23 files changed

+23
-29
lines changed

CMakeLists.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
cmake_minimum_required(VERSION 3.15)
5-
6-
# Enable CMAKE_MSVC_RUNTIME_LIBRARY on Windows: https://cmake.org/cmake/help/latest/policy/CMP0091.html
7-
cmake_policy(SET CMP0091 NEW)
8-
9-
# Do not set default MSVC warning flags: https://cmake.org/cmake/help/latest/policy/CMP0092.html
10-
cmake_policy(SET CMP0092 NEW)
4+
cmake_minimum_required(VERSION 3.28)
115

126
# Export compile commands for other tools, e.g. SonarLint.
137
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

cmake/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
cmake_minimum_required(VERSION 3.15)
4+
cmake_minimum_required(VERSION 3.28)
55

66
# Enable version checks in find_package
77
include(CMakePackageConfigHelpers)

samples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
cmake_minimum_required(VERSION 3.15)
4+
cmake_minimum_required(VERSION 3.28)
55

66
add_subdirectory(client)
77
add_subdirectory(learn)

samples/client/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
cmake_minimum_required(VERSION 3.15)
4+
cmake_minimum_required(VERSION 3.28)
55

66
add_subdirectory(query)
77
add_subdirectory(mutate)

samples/client/benchmark/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
cmake_minimum_required(VERSION 3.15)
4+
cmake_minimum_required(VERSION 3.28)
55

66
# Normally this would be handled by find_package(cppgraphqlgen CONFIG).
77
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/cppgraphqlgen-functions.cmake)

samples/client/multiple/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
cmake_minimum_required(VERSION 3.15)
4+
cmake_minimum_required(VERSION 3.28)
55

66
# Normally this would be handled by find_package(cppgraphqlgen CONFIG).
77
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/cppgraphqlgen-functions.cmake)

samples/client/mutate/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
cmake_minimum_required(VERSION 3.15)
4+
cmake_minimum_required(VERSION 3.28)
55

66
# Normally this would be handled by find_package(cppgraphqlgen CONFIG).
77
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/cppgraphqlgen-functions.cmake)

samples/client/nestedinput/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
cmake_minimum_required(VERSION 3.15)
4+
cmake_minimum_required(VERSION 3.28)
55

66
# Normally this would be handled by find_package(cppgraphqlgen CONFIG).
77
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/cppgraphqlgen-functions.cmake)

samples/client/query/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
cmake_minimum_required(VERSION 3.15)
4+
cmake_minimum_required(VERSION 3.28)
55

66
# Normally this would be handled by find_package(cppgraphqlgen CONFIG).
77
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/cppgraphqlgen-functions.cmake)

samples/client/subscribe/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
33

4-
cmake_minimum_required(VERSION 3.15)
4+
cmake_minimum_required(VERSION 3.28)
55

66
# Normally this would be handled by find_package(cppgraphqlgen CONFIG).
77
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/cppgraphqlgen-functions.cmake)

0 commit comments

Comments
 (0)