Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake: Fix target import on case-sensitive file systems #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FtZPetruska
Copy link

On case-sensitive filesystems, OpusFileConfig.cmake fails to include the exported targets due to mismatched capitalisation.

In CMakeLists.txt:

install(EXPORT OpusFileTargets
  DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/opusfile"
  NAMESPACE OpusFile::
)

In OpusFileConfig.cmake.in:

include("${CMAKE_CURRENT_LIST_DIR}/opusfileTargets.cmake")

On case-sensitive filesystems, `OpusFileConfig.cmake` fails to include
the exported targets due to mismatch capitalisation.
FtZPetruska added a commit to FtZPetruska/vcpkg that referenced this pull request Feb 14, 2023
On case-sensitive filesystems, `OpusFileConfig.cmake` is unable to find
the exported targets due to mismatch case. See xiph/opusfile#42
JavierMatosD pushed a commit to microsoft/vcpkg that referenced this pull request Feb 14, 2023
* [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.
@fjtrujy
Copy link

fjtrujy commented Mar 26, 2024

Could be this PR merged 😄 ?
We suffer this issue too in the ps2dev docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants