Merge branch 'fixes' into main/rendor-staging
[ryzomcore.git] / CMakeModules / FindVorbis.cmake
blobb0a4ec2a6f7f46358e0d7f57e9430fc0095199c7
1 INCLUDE(FindHelpers)
3 FIND_PACKAGE_HELPER(Vorbis vorbisenc.h)
4 FIND_PACKAGE_HELPER(VorbisFile vorbisfile.h SUFFIXES vorbis)
6 IF(VORBISFILE_FOUND)
7   SET(VORBIS_LIBRARIES ${VORBIS_LIBRARIES} ${VORBISFILE_LIBRARIES})
8 ENDIF()