From 3c941a2312aaa5095ba5971f7f764bc83fc48abf Mon Sep 17 00:00:00 2001 From: vhutter <16247361+vhutter@users.noreply.github.com> Date: Mon, 11 Sep 2023 14:57:09 +0200 Subject: [PATCH] Enabled modifying MSVC runtime in cmake (#559) --- 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