diff --git a/ports/opusfile/portfile.cmake b/ports/opusfile/portfile.cmake index 67edb4ae8afd54..bed5e96ee44cfd 100644 --- a/ports/opusfile/portfile.cmake +++ b/ports/opusfile/portfile.cmake @@ -9,6 +9,8 @@ vcpkg_from_github( file(WRITE "${SOURCE_PATH}/package_version" "PACKAGE_VERSION=${VERSION}") +vcpkg_replace_string("${SOURCE_PATH}/cmake/OpusFileConfig.cmake.in" "opusfileTargets.cmake" "OpusFileTargets.cmake") + vcpkg_check_features( OUT_FEATURE_OPTIONS FEATURE_OPTIONS INVERTED_FEATURES diff --git a/ports/opusfile/vcpkg.json b/ports/opusfile/vcpkg.json index a06beb587ac2d8..fcb3308a675e0a 100644 --- a/ports/opusfile/vcpkg.json +++ b/ports/opusfile/vcpkg.json @@ -1,6 +1,7 @@ { "name": "opusfile", "version": "0.12+20221121", + "port-version": 1, "description": "Stand-alone decoder library for .opus streams", "homepage": "https://github.com/xiph/opusfile", "license": "BSD-3-Clause",