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

fix build on macOS #100

Merged
merged 2 commits into from
Aug 4, 2024
Merged

fix build on macOS #100

merged 2 commits into from
Aug 4, 2024

Conversation

Shieldine
Copy link
Contributor

This PR fixes the failing build on macOS. It seems to have been caused by removing the explicit setting of a cpp standard in the main CMakeLists.txt

It's now set to 20 as it was in previous commits

@lfreist
Copy link
Owner

lfreist commented Aug 4, 2024

@Shieldine can you elaborate, why C++20 is needed for macOS? hwinfo builds with C++11 on Windows and Linux... Or is it just that the used standard must be set?

@Shieldine
Copy link
Contributor Author

@lfreist it's just that a standard must be set or macOS will take something below 11 and thus fail to build.
Looking at previous commits, c++20 was defined. If 11 is enough, i can gladly change to 11. We just need something that is 11 or above

@lfreist
Copy link
Owner

lfreist commented Aug 4, 2024

Thank you! Yes, please set it to 11 then. The plan is, that the first release is C++11 and later releases introduce more modern features. I want to make sure that a working version is available for C++11 compilers...

@Shieldine
Copy link
Contributor Author

@lfreist Way ahead of you! :) C++11 already passed the pipeline, ready to merge

@lfreist lfreist merged commit 994b1bf into lfreist:main Aug 4, 2024
5 checks passed
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