Skip to content
Snippets Groups Projects
Commit 9806df58 authored by Eidolon's avatar Eidolon
Browse files

cmake: Add stb-vorbis

This is a lightweight single-file Ogg Vorbis decoder which will be used
for Ogg playback instead of libogg/libvorbis.
parent 210b513c
No related branches found
No related tags found
No related merge requests found
......@@ -666,3 +666,4 @@ if(xmp-lite_ADDED)
endif()
add_subdirectory(tcbrindle_span)
add_subdirectory(stb_vorbis)
# Update from https://github.com/nothings/stb
# This doesn't use CPM because stb_vorbis.c has a weird header setup
add_library(stb_vorbis STATIC stb_vorbis.c include/stb_vorbis.h)
target_include_directories(stb_vorbis PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
#define STB_VORBIS_HEADER_ONLY
#include "../stb_vorbis.c"
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment