mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 03:09:00 +08:00
[vcpkg] Set CMP0174 NEW (#42045)
This commit is contained in:
parent
dcbe2059b3
commit
a4e38a55c2
@ -1,4 +1,8 @@
|
|||||||
cmake_minimum_required(VERSION 3.21)
|
cmake_minimum_required(VERSION 3.21)
|
||||||
|
if(POLICY CMP0174)
|
||||||
|
# Use CMake 3.31 behavior for cmake_parse_arguments(PARSE_ARGV)
|
||||||
|
cmake_policy(SET CMP0174 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Remove CMAKE_ variables from the script call
|
# Remove CMAKE_ variables from the script call
|
||||||
foreach(i RANGE 0 "${CMAKE_ARGC}")
|
foreach(i RANGE 0 "${CMAKE_ARGC}")
|
||||||
|
Loading…
Reference in New Issue
Block a user