- codec_ogg:
- Fix call to to CHECK_LIBRARY_EXISTS by passing VORBIS_LIBDIR instead of VORBIS_INCLUDEDIR.
- Use the values from pkg-config instead ogg->OGG_LIBRARIES and so on.
- While here, also fix indentation.
- codec_flac
- Add FLAC_INCLUDEDIR to CMAKE_REQUIRED_INCLUDES.