Skip to content

Commit

Permalink
[Build] Fixed generate_gmake2_vulkan.py
Browse files Browse the repository at this point in the history
The script was previously passing the d3d12 parameter to the project
generator instead of vulkan.

Apart from that, fixed an issue where subprocess.Popen didn't actually
work. Aparently adding `shell=True` as a parameter fixes it.
  • Loading branch information
devel authored and devel committed Sep 8, 2022
1 parent 9eee3d4 commit 75e8b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_gmake2_vulkan.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
# change working directory to script directory
os.chdir(os.path.dirname(__file__))
# run script
subprocess.Popen("python build_scripts\\generate_project_files.py gmake2 d3d12").communicate()
subprocess.Popen("python3 build_scripts/generate_project_files.py gmake2 vulkan", shell=True).communicate()
# exit
sys.exit(0)

0 comments on commit 75e8b17

Please sign in to comment.