From 2122698de6354ea2f7c5519b53ec5210c2367b06 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 31 May 2024 13:41:10 -0400 Subject: [PATCH] Try this --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d7e7e056..805b535f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 3.15 FATAL_ERROR) # MSVC runtime library flags are selected by an abstraction cmake_policy(SET CMP0091 NEW) -cmake_policy(SET CMP0077 NEW) + +# To set BUILD_DOCS for iniparser below. Is there another solution? +set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) project(isle CXX C)