Skip to content

Commit 723880b

Browse files
committed
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.
1 parent a1a0141 commit 723880b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update_deps.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ def CreateHelper(args, repos, filename):
622622
if repo.api is not None and repo.api != args.api:
623623
continue
624624
if install_names and repo.name in install_names and repo.on_build_platform:
625-
helper_file.write('set({var} "{dir}" CACHE STRING "" FORCE)\n'
625+
helper_file.write('set({var} "{dir}" CACHE STRING "")\n'
626626
.format(
627627
var=install_names[repo.name],
628628
dir=escape(repo.install_dir)))

0 commit comments

Comments
 (0)