Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/vcpkg/buildenvironment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ namespace vcpkg
local_variables.emplace_back("BUILDTREES_DIR", paths.buildtrees());
local_variables.emplace_back("_VCPKG_INSTALLED_DIR", paths.installed().root());
local_variables.emplace_back("DOWNLOADS", paths.downloads);
local_variables.emplace_back("VCPKG_SCRIPTS_DIR", paths.scripts);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be just SCRIPTS since it is already defined in ports.cmake ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense to me

local_variables.emplace_back("VCPKG_TOOLS_DIR", paths.tools);
local_variables.emplace_back("VCPKG_MANIFEST_INSTALL", "OFF");
return make_basic_cmake_cmd(paths.get_tool_exe(Tools::CMAKE, out_sink), cmake_script, local_variables);
}
Expand Down