diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/restinio/restinio_cmake_file.patch | |
Diffstat (limited to 'vcpkg/ports/restinio/restinio_cmake_file.patch')
| -rw-r--r-- | vcpkg/ports/restinio/restinio_cmake_file.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/restinio/restinio_cmake_file.patch b/vcpkg/ports/restinio/restinio_cmake_file.patch new file mode 100644 index 0000000..978d119 --- /dev/null +++ b/vcpkg/ports/restinio/restinio_cmake_file.patch @@ -0,0 +1,14 @@ +diff --git a/dev/restinio/CMakeLists.txt b/dev/restinio/CMakeLists.txt +index 4a5b4803..f622a87d 100644 +--- a/dev/restinio/CMakeLists.txt ++++ b/dev/restinio/CMakeLists.txt +@@ -1,6 +1,8 @@ + cmake_minimum_required(VERSION 3.10) + +-cmake_policy(SET CMP0177 NEW) ++if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.31.0") ++ cmake_policy(SET CMP0177 NEW) ++endif() + + if(NOT RESTINIO_LIBRARY_NAME) + # That must be the case when RESTinio is used as a dependency. |