diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/osg/fix-sdl.patch | |
Diffstat (limited to 'vcpkg/ports/osg/fix-sdl.patch')
| -rw-r--r-- | vcpkg/ports/osg/fix-sdl.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/osg/fix-sdl.patch b/vcpkg/ports/osg/fix-sdl.patch new file mode 100644 index 0000000..c779235 --- /dev/null +++ b/vcpkg/ports/osg/fix-sdl.patch @@ -0,0 +1,14 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 81328ea..c735419 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -755,7 +755,8 @@ ELSE() + FIND_PACKAGE(GStreamer COMPONENTS app pbutils) + FIND_PACKAGE(GLIB COMPONENTS gobject) + FIND_PACKAGE(DirectShow) +- FIND_PACKAGE(SDL2) ++ find_package(SDL2 CONFIG) ++ set(SDL2_LIBRARY SDL2::SDL2 SDL2::SDL2main) + FIND_PACKAGE(SDL) + FIND_PACKAGE(Poppler-glib) + FIND_PACKAGE(RSVG) |