-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[package] ghc-filesystem/1.5.8: incorrect name of [pakcage]config.cmake on linux and windows #9357
Comments
Steps to reproduce is important. Basically I don't reproduce this issue. |
Hi, I found a test code you wrote for ghcFilesystem. This is what I am facing, seems you have aware of that.
I think the difference is caused by the difference in operating systems. Since I required exactly the same version of ghc_filesystem. I use Linux Mint 20.3 ( equivalent to Ubuntu 20.04) and Windows 10 ( vs2019 build tools). The following code is what I used to solve the dependencies. As you noticed, an If statement is used to determine the name of
|
I'm a bit confused. What I can say is:
Now I guess that on Linux, you have the old revision of |
I've submitted #9383 to make things simpler and avoid confusion: only one config file name regardless of the version, |
Thank you so much, that was great. |
The config.cmake file generated on Linux and Windows have different names, which is supposed to be consistent.
The package ghc-filesystem/1.5.8 generates FindghcFilesystem.cmake on Linux, but generates Findghc-filesystem.cmake on windows, which makes the cmake failed to find the package.
The issue is supposed to be minor.
Package and Environment Details (include every applicable attribute)
Conan profile (output of
conan profile show default
orconan profile show <profile>
if custom profile is in use)Steps to reproduce (Include if Applicable)
no specific reproduce.
The text was updated successfully, but these errors were encountered: