File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 2020 - cmake -S sdl_repo -B sdl_build
2121 - cmake --build sdl_build --config Debug
2222 - cmake --install sdl_build --config Debug --prefix ~/.local
23- - sudo cp --verbose ~/.local/lib/pkgconfig/sdl3.pc /lib/pkgconfig/sdl3.pc
2423
2524submodules :
2625 include : all
Original file line number Diff line number Diff line change 33
44from __future__ import annotations
55
6+ import os
67import platform
78import subprocess
89import sys
@@ -55,6 +56,10 @@ def check_sdl_version() -> None:
5556 "\n sdl3-config must be on PATH."
5657 )
5758 raise RuntimeError (msg ) from exc
59+ except subprocess .CalledProcessError as exc :
60+ if sys .version_info >= (3 , 11 ):
61+ exc .add_note (f"{ os .environ ['PKG_CONFIG_PATH' ]= } " )
62+ raise
5863 print (f"Found SDL { sdl_version_str } ." )
5964 sdl_version = tuple (int (s ) for s in sdl_version_str .split ("." ))
6065 if sdl_version < SDL_VERSION_NEEDED :
You can’t perform that action at this time.
0 commit comments