mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-05-14 16:58:43 +00:00
scripts: Fix user self-hosting dependency in update_deps.py
The documentation states that users can override where to take a dependency from via variables like VULKAN_HEADERS_INSTALL_DIR, however the helper.cmake written by the scripts/CMakeLists.txt FORCE updates the cache variable to the location inside known_good.json, practically overwriting the user-provided path given on the CLI using -D, also going into the cache.
This commit is contained in:
parent
a42c1fbb7a
commit
89fda45572
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ def CreateHelper(args, repos, filename):
|
|||
if repo.api is not None and repo.api != args.api:
|
||||
continue
|
||||
if install_names and repo.name in install_names and repo.on_build_platform:
|
||||
helper_file.write('set({var} "{dir}" CACHE STRING "" FORCE)\n'
|
||||
helper_file.write('set({var} "{dir}" CACHE STRING "")\n'
|
||||
.format(
|
||||
var=install_names[repo.name],
|
||||
dir=escape(repo.install_dir)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue