1b815c7f3Sopenharmony_ciset(SndFile_VERSION @PROJECT_VERSION@) 2b815c7f3Sopenharmony_ciset(SndFile_VERSION_MAJOR @PROJECT_VERSION_MAJOR@) 3b815c7f3Sopenharmony_ciset(SndFile_VERSION_MINOR @PROJECT_VERSION_MINOR@) 4b815c7f3Sopenharmony_ciset(SndFile_VERSION_PATCH @PROJECT_VERSION_PATCH@) 5b815c7f3Sopenharmony_ci 6b815c7f3Sopenharmony_ciset (SndFile_WITH_EXTERNAL_LIBS @SndFile_WITH_EXTERNAL_LIBS@) 7b815c7f3Sopenharmony_ciset (SndFile_WITH_MPEG @SndFile_WITH_MPEG@) 8b815c7f3Sopenharmony_ci 9b815c7f3Sopenharmony_ci@PACKAGE_INIT@ 10b815c7f3Sopenharmony_ci 11b815c7f3Sopenharmony_ciinclude (CMakeFindDependencyMacro) 12b815c7f3Sopenharmony_ci 13b815c7f3Sopenharmony_ciif (SndFile_WITH_EXTERNAL_LIBS AND NOT @BUILD_SHARED_LIBS@) 14b815c7f3Sopenharmony_ci find_dependency (Ogg 1.3) 15b815c7f3Sopenharmony_ci find_dependency (Vorbis) 16b815c7f3Sopenharmony_ci find_dependency (FLAC) 17b815c7f3Sopenharmony_ci find_dependency (Opus) 18b815c7f3Sopenharmony_ciendif () 19b815c7f3Sopenharmony_ci 20b815c7f3Sopenharmony_ciif (SndFile_WITH_MPEG AND NOT @BUILD_SHARED_LIBS@) 21b815c7f3Sopenharmony_ci find_dependency (mp3lame) 22b815c7f3Sopenharmony_ci find_dependency (MPG123) 23b815c7f3Sopenharmony_ciendif () 24b815c7f3Sopenharmony_ci 25b815c7f3Sopenharmony_ciinclude (${CMAKE_CURRENT_LIST_DIR}/SndFileTargets.cmake) 26b815c7f3Sopenharmony_ci 27b815c7f3Sopenharmony_ciset_and_check (SndFile_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@") 28b815c7f3Sopenharmony_ciset (SNDFILE_INCLUDE_DIR ${SndFile_INCLUDE_DIR}) 29b815c7f3Sopenharmony_ci 30b815c7f3Sopenharmony_ciset (SndFile_LIBRARY SndFile::sndfile) 31b815c7f3Sopenharmony_ciset (SNDFILE_LIBRARY SndFile::sndfile) 32b815c7f3Sopenharmony_ciset (SndFile_LIBRARIES SndFile::sndfile) 33b815c7f3Sopenharmony_ciset (SNDFILE_LIBRARIES SndFile::sndfile) 34b815c7f3Sopenharmony_ci 35b815c7f3Sopenharmony_ci 36b815c7f3Sopenharmony_cicheck_required_components(SndFile) 37b815c7f3Sopenharmony_ci 38b815c7f3Sopenharmony_ciset (SNDFILE_FOUND 1) 39