Fix libvorbisfile dependency
This commit is contained in:
parent
d5c27a756b
commit
312a6d3ba8
|
|
@ -16,7 +16,10 @@
|
|||
#include <Nazara/Core/Stream.hpp>
|
||||
#include <optional>
|
||||
#include <set>
|
||||
|
||||
#define OV_EXCLUDE_STATIC_CALLBACKS
|
||||
#include <vorbis/vorbisfile.h>
|
||||
|
||||
#include <Nazara/Audio/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
local modules = {
|
||||
Audio = {
|
||||
Deps = {"NazaraCore"},
|
||||
Packages = {"dr_wav", "libogg", "libsndfile", "minimp3"}
|
||||
Packages = {"dr_wav", "libsndfile", "libvorbis", "minimp3"}
|
||||
},
|
||||
Core = {
|
||||
Custom = function ()
|
||||
|
|
@ -92,7 +92,8 @@ local modules = {
|
|||
|
||||
add_repositories("local-repo xmake-repo")
|
||||
|
||||
add_requires("chipmunk2d", "dr_wav", "freetype", "libogg", "libsndfile", "libsdl", "minimp3", "stb")
|
||||
add_requires("chipmunk2d", "dr_wav", "freetype", "libsndfile", "libsdl", "libvorbis", "minimp3", "stb")
|
||||
add_requireconfs("libvorbis", { system = false })
|
||||
add_requires("newtondynamics", { debug = is_plat("windows") and is_mode("debug") }) -- Newton doesn't like compiling in Debug on Linux
|
||||
|
||||
set_project("NazaraEngine")
|
||||
|
|
|
|||
Loading…
Reference in New Issue