aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libmikmod/find-openal.patch
diff options
context:
space:
mode:
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
+