From 6d04e6c345a876082505fc3620313fd1ab47810f Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Sat, 12 Nov 2022 07:57:49 +0100 Subject: [PATCH] Modernize --- scripts/test_ports/cmake-user/portfile.cmake | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/test_ports/cmake-user/portfile.cmake b/scripts/test_ports/cmake-user/portfile.cmake index 06330fa14b6a31..ab30c4ccd8a4ea 100644 --- a/scripts/test_ports/cmake-user/portfile.cmake +++ b/scripts/test_ports/cmake-user/portfile.cmake @@ -38,11 +38,10 @@ if("cmake-3-7" IN_LIST FEATURES) message(FATAL_ERROR "Unable to test feature 'cmake-3-7' for '${HOST_TRIPLET}' host.") endif() - vcpkg_extract_source_archive_ex( - OUT_SOURCE_PATH legacy_cmake + vcpkg_extract_source_archive(legacy_cmake ARCHIVE "${legacy_cmake_archive}" - REF "${cmake_version}" - WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/${name}" + SOURCE_BASE "${cmake_version}" + WORKING_DIRECTORY "${CURRENT_BUILDTREES_DIR}/cmake" ) list(APPEND cmake_commands "${legacy_cmake}${cmake_bin_dir}/cmake") endif()