From e51d7b9931f16e9a01a6cda63b382ef5fd8133a8 Mon Sep 17 00:00:00 2001 From: TheRaf974 Date: Sun, 31 Dec 2023 15:25:35 +0400 Subject: [PATCH] CMake - Updating option behavior (CMP0077 ) Fix for [Issue 817](https://github.com/DaveGamble/cJSON/issues/817) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d807ea6..821ff258 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,7 @@ project(cJSON LANGUAGES C) cmake_policy(SET CMP0054 NEW) # set CMP0054 policy +cmake_policy(SET CMP0077 NEW) # set CMP0077 policy include(GNUInstallDirs)