From ac1028d6a0d47ecae4c4652290c03f0f4fc4eb14 Mon Sep 17 00:00:00 2001 From: TaurusXin Date: Mon, 12 Feb 2024 23:53:14 +0800 Subject: [PATCH] fix: set CMP0077 policy not work --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fecb1a..a22d862 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,11 @@ cmake_minimum_required(VERSION 3.14) -cmake_policy(SET CMP0077 NEW) project(ncmdump LANGUAGES CXX) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) set(WITH_ZLIB OFF) set(BUILD_TESTING OFF) add_subdirectory(taglib)