From 4c496501364dbeac78c32a549cb2626cad39e32c Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Sat, 7 Dec 2024 01:08:34 +0700 Subject: [PATCH] update minimum CMake version (#2081) --- .github/workflows/packages.yml | 2 -- CMakeLists.txt | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 1e532a1da..0b4ee0a99 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -38,7 +38,6 @@ jobs: artifact-name: Win-64 artifact-path: build/*.zip extra-options: >- - -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DCMAKE_IGNORE_PATH="C:/Strawberry/perl/bin;C:/Strawberry/c/lib" @@ -50,7 +49,6 @@ jobs: artifact-name: Win-32 artifact-path: build/*.zip extra-options: >- - -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DCMAKE_IGNORE_PATH="C:/Strawberry/perl/bin;C:/Strawberry/c/lib" diff --git a/CMakeLists.txt b/CMakeLists.txt index cd76794bf..e5f85fde9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,10 +7,9 @@ include(CheckCSourceCompiles) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") # X_VCPKG_APPLOCAL_DEPS_INSTALL automatically installs dependencies. -set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) set(X_VCPKG_APPLOCAL_DEPS_INSTALL ON) -cmake_minimum_required(VERSION 3.9) +cmake_minimum_required(VERSION 3.15) project("Woof" VERSION 15.0.1