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: Bump min version to 3.1 #914

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

Conversation

pylbert
Copy link
Contributor

@pylbert pylbert commented Jul 31, 2018

Removed function for setting c++11 standard in favor of using CMake 3.1
global:

set (CMAKE_CXX_STANDARD 11)

Signed-off-by: Noel Eck [email protected]

Removed function for setting c++11 standard in favor of using CMake 3.1
global:

set (CMAKE_CXX_STANDARD 11)

Signed-off-by: Noel Eck <[email protected]>
@pylbert pylbert requested review from arfoll and Propanu July 31, 2018 23:11
@pylbert
Copy link
Contributor Author

pylbert commented Jul 31, 2018

It seems like this should also be captured in the mraa.pc file however I'm not sure of the BKM for adding CXXFLAGS to pkg-config. Variable maybe?

@alext-mkrs
Copy link
Contributor

I guess CMAKE_CXX_FLAGS would be the way - I have';t used that much, but some quick googling hasn't revealed anything better than that.

Copy link
Contributor

@arfoll arfoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still think dual .pc files is probably the only way here. But the best thing to do would be maybe to find out what other libs are doing before jumping to a solution :)

In the meantime Cmake 3.1 min is a good choice imho

@pylbert
Copy link
Contributor Author

pylbert commented Aug 8, 2018 via email

@alext-mkrs
Copy link
Contributor

@pylbert, let me bump this up, do you still plan to merge this one?

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.

None yet

4 participants