Skip to content

Commit a947b79

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 f61a6c5 commit a947b79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/update_deps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ def CreateHelper(args, repos, filename):
636636
if repo.api is not None and repo.api != args.api:
637637
continue
638638
if install_names and repo.name in install_names and repo.on_build_platform:
639-
helper_file.write('set({var} "{dir}" CACHE STRING "" FORCE)\n'
639+
helper_file.write('set({var} "{dir}" CACHE STRING "")\n'
640640
.format(
641641
var=install_names[repo.name],
642642
dir=escape(repo.install_dir)))

0 commit comments

Comments
 (0)