fix: set CMP0077 policy not work

This commit is contained in:
TaurusXin 2024-02-12 23:53:14 +08:00
parent e5906e425e
commit ac1028d6a0
Signed by: taurusxin
GPG Key ID: C334DCA04AC2D2CC
1 changed files with 1 additions and 1 deletions

View File

@ -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)