-
-
Notifications
You must be signed in to change notification settings - Fork 849
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
fix the name in find query #3828
Conversation
The .config installed by github's fast_float, makes the library to be exposed as FastFloat, not fast_float. So current situation is that no matter if the library exist or not, it pulls from github remote anyways. Also updated the version to be 6.1.3 as it's the newest release.
Does it work if the user has version 6.1.0 installed? |
Probably not? it probably just pull in 6.1.3 from remote then, like what we used to always have. But in this way everyone would be having 6.1.3 with stellarium. CMakeList's VERSION specifics the minimum version, so even if i entered 6.1.0, for people having 6.1.3 it would still work (i just tested on my system, it worked). That was not the case with the main issue, the main issue is the CamelCase not snake_case for the fast_float (I know it's confusing, the package installed in system is FastFloat but the repo is called fast_float lol). Do we want to use 6.1.0 (and higher) or use 6.1.3 (and higher) https://github.com/fastfloat/fast_float/releases From the release notes, there shouldn't be any ground-breaking change, I guess this commit might be something useful? fastfloat/fast_float#167 I just think it's also a good habit to keep it with the current version, maybe I should do in 2 commits as it's 2 different purposes. Let me know what you think |
Yes, I was just wondering if this is because of some name change (which some projects do, unfortunately), or simply because of my mistake. I see the following here, which makes me wonder.
|
Any news? |
Hello @mosaicthej! We really need your feedback. |
Hmm… I found a similar patch for FreeBSD |
Now that I think of it, the change of the name shouldn't have bothered me too much, since @DarthGandalf If you can confirm that this PR fixes the issue for you, I think we can merge it. |
This pull request is outdated, such, the problematic code replaced by new tool or feature... |
The .config installed by github's fast_float, makes the library to be exposed as FastFloat, not fast_float.
So current situation is that no matter if the library exist or not, it pulls from github remote anyways.
Also updated the version to be 6.1.3 as it's the newest release.
Description
Fixes # (issue)
The current CMakeLists would pull fast_float from github anyways irrespective if the library is installed or not.
I changed the NAME field to FastFloat so it would pick up if previously has been installed.
Type of change
How Has This Been Tested?
Tested with a clean install of fast_float library, then build stellarium. When change the NAME, cmake won't pull from remote.
Test Configuration:
Checklist: