1
0

usage 530 B

12345678910111213
  1. The package libvorbis provides CMake targets:
  2. # Vorbis reference encoder and decoder, low-level API
  3. find_package(Vorbis CONFIG REQUIRED)
  4. target_link_libraries(main PRIVATE Vorbis::vorbis)
  5. # Audio stream decoding and basic manipulation, high-level API
  6. find_package(Vorbis CONFIG REQUIRED)
  7. target_link_libraries(main PRIVATE Vorbis::vorbisfile)
  8. # Convenience API for setting up an encoding environment
  9. find_package(Vorbis CONFIG REQUIRED)
  10. target_link_libraries(main PRIVATE Vorbis::vorbisenc)