From 86917332dccd507f5dc7b8ec9fc25864933bb351 Mon Sep 17 00:00:00 2001 From: vince Date: Mon, 11 Sep 2023 14:36:18 +0200 Subject: [PATCH] Enabled modifying MSVC runtime in cmake --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 72271a6..29ca64f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,9 @@ cmake_minimum_required(VERSION 3.5) +if (POLICY CMP0091) + cmake_policy(SET CMP0091 NEW) +endif (POLICY CMP0091) + # By default, the version information is extracted from the git index. However, # we can override this behavior by explicitly setting ADS_VERSION and # skipping the git checks. This is useful for cases where this project is being