Skip to content

Commit

Permalink
ダウンロード先を github にする
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Sep 16, 2024
1 parent d59e676 commit 168122d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buildbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1092,7 +1092,9 @@ def install_cmake(version, source_dir, install_dir, platform: str, ext):
def install_sdl2(
version, source_dir, build_dir, install_dir, debug: bool, platform: str, cmake_args: List[str]
):
url = f"https://www.libsdl.org/release/SDL2-{version}.zip"
url = (
f"https://github.com/libsdl-org/SDL/releases/download/release-{version}/SDL2-{version}.zip"
)
path = download(url, source_dir)
sdl2_source_dir = os.path.join(source_dir, "sdl2")
sdl2_build_dir = os.path.join(build_dir, "sdl2")
Expand Down

0 comments on commit 168122d

Please sign in to comment.