mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
0537d52181
* Fix mingw-dynamic builds * Modernize portfile * Add explicit usage * Update versions * Drop obsolete PREFER_NINJA * Update versions
14 lines
530 B
Plaintext
14 lines
530 B
Plaintext
The package libvorbis provides CMake targets:
|
|
|
|
# Vorbis reference encoder and decoder, low-level API
|
|
find_package(Vorbis CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE Vorbis::vorbis)
|
|
|
|
# Audio stream decoding and basic manipulation, high-level API
|
|
find_package(Vorbis CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE Vorbis::vorbisfile)
|
|
|
|
# Convenience API for setting up an encoding environment
|
|
find_package(Vorbis CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE Vorbis::vorbisenc)
|