shithub: opusfile

ref: 6759af4b189d9fd6480f2db14eb106715a254619
dir: /cmake/FindOpus.cmake/

View raw version
find_package(Opus CONFIG)
if(NOT TARGET Opus::opus)
  find_package(PkgConfig REQUIRED)
  pkg_check_modules(Opus REQUIRED IMPORTED_TARGET opus)
  add_library(Opus::opus ALIAS PkgConfig::Opus)
endif()