From bb428edcac4aaf7c584ce6d6af23c6a570dd720a Mon Sep 17 00:00:00 2001 From: ksuprynowicz Date: Fri, 16 Jun 2023 13:20:51 +0200 Subject: [PATCH] Another fix for libnode portfile on Windows --- .gitignore | 1 + cmake/ports/node/portfile.cmake | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 91e80c1fb0..bbcbadf2b6 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ cmake-build-minsizerelease-visual-studio/ cmake-build-release-visual-studio/ cmake-build-relwithdebinfo-visual-studio/ cmake-build-debug-visual-studio/ +cmake-build-debug/ /release*/ /debug*/ /gprof*/ diff --git a/cmake/ports/node/portfile.cmake b/cmake/ports/node/portfile.cmake index 9ecd006993..7667f475c8 100644 --- a/cmake/ports/node/portfile.cmake +++ b/cmake/ports/node/portfile.cmake @@ -92,7 +92,7 @@ endif () if (NODE_INSTALL_PATH) else() - vcpkg_extract_source_archive(SOURCE_PATH ARCHIVE ${NODE_SOURCE_ARCHIVE} NO_REMOVE_ONE_LEVEL) + vcpkg_extract_source_archive(MASTER_COPY_SOURCE_PATH ARCHIVE ${NODE_SOURCE_ARCHIVE} NO_REMOVE_ONE_LEVEL) set(NODE_INSTALL_PATH ${MASTER_COPY_SOURCE_PATH}) endif()