Skip to content

Commit

Permalink
Modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Nov 12, 2022
1 parent 20fc71b commit 6d04e6c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/test_ports/cmake-user/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 6d04e6c

Please sign in to comment.