From 1f7b4ef350f7685cfad8ab3d9a64da057b4b14e0 Mon Sep 17 00:00:00 2001 From: ksuprynowicz Date: Thu, 15 Jun 2023 23:57:27 +0200 Subject: [PATCH] Fix libnode vcpkg failure on Windows --- cmake/ports/node/portfile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/ports/node/portfile.cmake b/cmake/ports/node/portfile.cmake index 67760c0134..9ecd006993 100644 --- a/cmake/ports/node/portfile.cmake +++ b/cmake/ports/node/portfile.cmake @@ -89,7 +89,7 @@ else () endif () endif () -if (VCPKG_TARGET_ARCHITECTURE STREQUAL "x64") +if (NODE_INSTALL_PATH) else() vcpkg_extract_source_archive(SOURCE_PATH ARCHIVE ${NODE_SOURCE_ARCHIVE} NO_REMOVE_ONE_LEVEL)