aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/folly/portfile.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/ports/folly/portfile.cmake b/ports/folly/portfile.cmake
index 75dceb5af..8f36fb160 100644
--- a/ports/folly/portfile.cmake
+++ b/ports/folly/portfile.cmake
@@ -34,6 +34,10 @@ vcpkg_configure_cmake(
-DMSVC_USE_STATIC_RUNTIME=${MSVC_USE_STATIC_RUNTIME}
)
+# Folly runs built executables during the build, so they need access to the installed DLLs.
+# TODO: Confirm it's ok that we aren't adding the debug/bin folder.
+set(ENV{PATH} "$ENV{PATH};${CURRENT_INSTALLED_DIR}/bin")
+
vcpkg_install_cmake()
vcpkg_copy_pdbs()