Fix libvorbis handling

This commit is contained in:
Jérôme Leclercq
2021-05-30 15:12:28 +02:00
parent 312a6d3ba8
commit 0d2535b47c
2 changed files with 98 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ local modules = {
add_repositories("local-repo xmake-repo")
add_requires("chipmunk2d", "dr_wav", "freetype", "libsndfile", "libsdl", "libvorbis", "minimp3", "stb")
add_requireconfs("libvorbis", { system = false })
add_requires("libvorbis", { configs = { with_vorbisenc = false } })
add_requires("newtondynamics", { debug = is_plat("windows") and is_mode("debug") }) -- Newton doesn't like compiling in Debug on Linux
set_project("NazaraEngine")