Skip to content

Commit

Permalink
[vcpkg] Set CMP0174 NEW (#42045)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt authored Nov 15, 2024
1 parent dcbe205 commit a4e38a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/ports.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
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
foreach(i RANGE 0 "${CMAKE_ARGC}")
Expand Down

0 comments on commit a4e38a5

Please sign in to comment.