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:
parent
434eb4b0ac
commit
39f9189f34
@ -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()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user