aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libmikmod/find-openal.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libmikmod/find-openal.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libmikmod/find-openal.patch')
-rw-r--r--vcpkg/ports/libmikmod/find-openal.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/vcpkg/ports/libmikmod/find-openal.patch b/vcpkg/ports/libmikmod/find-openal.patch
new file mode 100644
index 0000000..90a3c2b
--- /dev/null
+++ b/vcpkg/ports/libmikmod/find-openal.patch
@@ -0,0 +1,25 @@
+From 505d9ebf6ad31d4f28ca0fbab6cf299a88d08036 Mon Sep 17 00:00:00 2001
+From: dpogue <darryl@dpogue.ca>
+Date: Sun, 24 Nov 2024 22:37:46 -0800
+Subject: [PATCH] Use find_package for OpenAL
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 53a174e..0be2166 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -799,7 +799,7 @@ ELSE()
+ ENDIF(ENABLE_SDL)
+
+ IF (ENABLE_OPENAL)
+- include(FindOpenAL)
++ find_package(OpenAL CONFIG)
+ IF (OPENAL_FOUND)
+ SET (DRV_OPENAL 1)
+ CHECK_MULTI_INCLUDE_FILES("AL/al.h" "AL/alc.h")
+--
+2.45.2.windows.1
+