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

THRIFT-3828 In cmake avoid use of both quoted paths and SYSTEM with include_directories() #1082

Closed
wants to merge 1 commit into from

Conversation

codyps
Copy link
Contributor

@codyps codyps commented Sep 7, 2016

This allows us to avoid issues where there are no paths to be added to
the include path (include_directories() errors when given an empty
string).

Specifically, gcc-6 requires that libraries stop passing paths like
'/usr/include' (or they will get libstdc++ build errors), so these paths
will be empty more often in the future.

…nclude_directories()

This allows us to avoid issues where there are no paths to be added to
the include path (include_directories() errors when given an empty
string).

Specifically, gcc-6 requires that libraries stop passing paths like
'/usr/include' (or they will get libstdc++ build errors), so these paths
will be empty more often in the future.
@nsuke
Copy link
Member

nsuke commented Nov 15, 2016

I couldn't reproduce this using GCC 6 and boost headers in /usr/include.
Maybe CMake version (using 3.6.3).

@codyps
Copy link
Contributor Author

codyps commented Nov 15, 2016

Issue was observed in yocto (aka open-embedded) when building for target. It likely requires cross compilation (and thus /usr/include is actually some other path) to trigger.

@jeking3
Copy link
Contributor

jeking3 commented Feb 6, 2017

@jfarrell the Jira ticket was resolved as "Won't Fix" here; can you close this PR? Thanks.

@jeking3
Copy link
Contributor

jeking3 commented Apr 1, 2017

@jfarrell the Jira ticket was resolved as "Won't Fix" here; can you close this PR? Thanks.

@jfarrell jfarrell closed this Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants