mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 20:18:53 +08:00
9055f88ba5
* Fix compile wavaudioimporter error * update version * Fix compile feature-wavaudioimporter error * update version
26 lines
902 B
Diff
26 lines
902 B
Diff
diff --git a/src/MagnumPlugins/AnyAudioImporter/CMakeLists.txt b/src/MagnumPlugins/AnyAudioImporter/CMakeLists.txt
|
|
index 64371a4..375ca58 100644
|
|
--- a/src/MagnumPlugins/AnyAudioImporter/CMakeLists.txt
|
|
+++ b/src/MagnumPlugins/AnyAudioImporter/CMakeLists.txt
|
|
@@ -24,6 +24,7 @@
|
|
#
|
|
|
|
find_package(Corrade REQUIRED PluginManager)
|
|
+find_package(OpenAL CONFIG REQUIRED)
|
|
|
|
if(BUILD_PLUGINS_STATIC)
|
|
set(MAGNUM_ANYAUDIOIMPORTER_BUILD_STATIC 1)
|
|
diff --git a/src/MagnumPlugins/WavAudioImporter/CMakeLists.txt b/src/MagnumPlugins/WavAudioImporter/CMakeLists.txt
|
|
index f4172d4..bdfd9da 100644
|
|
--- a/src/MagnumPlugins/WavAudioImporter/CMakeLists.txt
|
|
+++ b/src/MagnumPlugins/WavAudioImporter/CMakeLists.txt
|
|
@@ -24,6 +24,8 @@
|
|
#
|
|
|
|
find_package(Corrade REQUIRED PluginManager)
|
|
+include(CMakeFindDependencyMacro)
|
|
+find_dependency(OpenAL)
|
|
|
|
if(BUILD_PLUGINS_STATIC)
|
|
set(MAGNUM_WAVAUDIOIMPORTER_BUILD_STATIC 1)
|