[Magnum][Corrade] Cleanup and Audio support

Enabled audio support in magnum by default via openal-soft dependency.
This commit is contained in:
sigman 2017-06-09 15:09:05 +03:00
parent f0605ca60a
commit 741caef3fb
3 changed files with 3 additions and 7 deletions

View File

@ -23,9 +23,6 @@ vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA # Disable this option if project cannot be built with Ninja
OPTIONS -DBUILD_STATIC=${BUILD_STATIC}
# OPTIONS -DUSE_THIS_IN_ALL_BUILDS=1 -DUSE_THIS_TOO=2
# OPTIONS_RELEASE -DOPTIMIZE=1
# OPTIONS_DEBUG -DDEBUGGABLE=1
)
vcpkg_install_cmake()

View File

@ -1,4 +1,4 @@
Source: magnum
Version: jun2017
Build-Depends: corrade, sdl2
Build-Depends: corrade, sdl2, openal-soft
Description: C++11/C++14 and OpenGL graphics engine http://mosra.cz/blog/magnum.php

View File

@ -21,10 +21,9 @@ vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA # Disable this option if project cannot be built with Ninja
OPTIONS -DWITH_SDL2APPLICATION=ON
OPTIONS -DWITH_AUDIO=ON
OPTIONS -DWITH_WAVAUDIOIMPORTER=ON
OPTIONS -DBUILD_STATIC=${BUILD_STATIC}
# OPTIONS -DUSE_THIS_IN_ALL_BUILDS=1 -DUSE_THIS_TOO=2
# OPTIONS_RELEASE -DOPTIMIZE=1
# OPTIONS_DEBUG -DDEBUGGABLE=1
)
vcpkg_install_cmake()