build: remove unnecessary policy setting (#3873)

All cmake policies up to CMP0065 are set to NEW by default since the
minimum required version is 3.4.
This commit is contained in:
dundargoc 2023-01-14 11:12:51 +01:00 committed by GitHub
parent 434eb4b0ac
commit 39f9189f34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,5 @@
cmake_minimum_required(VERSION 3.4) cmake_minimum_required(VERSION 3.4)
cmake_policy(SET CMP0057 NEW) # Enable IN_LIST operator
cmake_policy(SET CMP0064 NEW) # Support if (TEST) operator
if(POLICY CMP0091) if(POLICY CMP0091)
cmake_policy(SET CMP0091 NEW) # Enable MSVC_RUNTIME_LIBRARY setting cmake_policy(SET CMP0091 NEW) # Enable MSVC_RUNTIME_LIBRARY setting
endif() endif()