Another fix for libnode portfile on Windows

This commit is contained in:
ksuprynowicz 2023-06-16 13:20:51 +02:00
parent 1f7b4ef350
commit bb428edcac
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View file

@ -16,6 +16,7 @@ cmake-build-minsizerelease-visual-studio/
cmake-build-release-visual-studio/ cmake-build-release-visual-studio/
cmake-build-relwithdebinfo-visual-studio/ cmake-build-relwithdebinfo-visual-studio/
cmake-build-debug-visual-studio/ cmake-build-debug-visual-studio/
cmake-build-debug/
/release*/ /release*/
/debug*/ /debug*/
/gprof*/ /gprof*/

View file

@ -92,7 +92,7 @@ endif ()
if (NODE_INSTALL_PATH) if (NODE_INSTALL_PATH)
else() 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}) set(NODE_INSTALL_PATH ${MASTER_COPY_SOURCE_PATH})
endif() endif()