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)