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

Building / installing without sudo #65

Closed
bessey opened this issue Jun 11, 2018 · 1 comment
Closed

Building / installing without sudo #65

bessey opened this issue Jun 11, 2018 · 1 comment

Comments

@bessey
Copy link

bessey commented Jun 11, 2018

I've been spending time improving my Travis build times, and my final remaining task to switch to their container infrastructure is to get rid of the sudo make install required by libgraphqlparser.

I've spelunked the Makefile a little but I don't see an obvious way to encourage the installer to build to a directory I have access to instead of /usr/local/include/graphqlparser. Any suggestions?

@swolchok
Copy link
Contributor

libgraphqlparser is built with cmake, so it supports whatever mechanisms your version of cmake supports for this. For example, see https://cmake.org/cmake/help/v3.0/variable/CMAKE_INSTALL_PREFIX.html#variable:CMAKE_INSTALL_PREFIX

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

No branches or pull requests

2 participants