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: rely on compile features to inject at least C++11 #563

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

Conversation

SpaceIm
Copy link
Contributor

@SpaceIm SpaceIm commented Jan 29, 2022

  • forcing -std=c++11 or using CXX_STANDARD is not recommended in a library, since it prevents users to compile the library with a more recent C++ standard.
  • also remove hardcoded C++ standard from generated pkgconfig file

cxx_std_11 is supported since CMake 3.8, so it's fine since current min CMake version of fcl is 3.10


This change is Reviewable

- forcing -std=c++11 or using CXX_STANDARD is not recommended in a library, since it prevents users to compile the library with a more recent C++ standard.
- also remove hardcoded C++ standard from generated pkgconfig file
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