Skip to content

Commit

Permalink
[opusfile] Fix CMake config on case-sensitive filesystem (#29640)
Browse files Browse the repository at this point in the history
* [opusfile] Fix CMake config for case-sensitive FS.

On case-sensitive filesystems, `OpusFileConfig.cmake` is unable to find
the exported targets due to mismatch case. See xiph/opusfile#42

* [opusfile] Update baseline.
  • Loading branch information
FtZPetruska authored Feb 14, 2023
1 parent 44da3c9 commit 93895b2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ports/opusfile/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions ports/opusfile/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5802,7 +5802,7 @@
},
"opusfile": {
"baseline": "0.12+20221121",
"port-version": 0
"port-version": 1
},
"orc": {
"baseline": "1.7.6",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/opusfile.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6b39a2d4ff309c4e2bedf74adeb1cd18f7ab16c9",
"version": "0.12+20221121",
"port-version": 1
},
{
"git-tree": "7694ad3ef2bc0532b9c18a69dc120f2382cf06b2",
"version": "0.12+20221121",
Expand Down

0 comments on commit 93895b2

Please sign in to comment.