Skip to content

Commit

Permalink
[opusfile] Fix CMake config for case-sensitive FS.
Browse files Browse the repository at this point in the history
On case-sensitive filesystems, `OpusFileConfig.cmake` is unable to find
the exported targets due to mismatch case. See xiph/opusfile#42
  • Loading branch information
FtZPetruska committed Feb 14, 2023
1 parent 25f6132 commit fe65b34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
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

0 comments on commit fe65b34

Please sign in to comment.