fishbowl/engine/cmake/deps/stb_vorbis.cmake

11 lines
236 B
CMake
Raw Normal View History

2026-05-25 07:32:14 +09:00
if(NOT DEFINED stb_SOURCE_DIR)
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/CPM.cmake")
CPMAddPackage(
NAME "stb"
GITHUB_REPOSITORY "nothings/stb"
GIT_TAG master
)
endif()
add_library(stb_vorbis ${stb_SOURCE_DIR}/stb_vorbis.c)