Skip to content

Instantly share code, notes, and snippets.

@eulersson
Last active February 27, 2017 14:57
Show Gist options
  • Save eulersson/08529548cee3867853c4e2e73159a576 to your computer and use it in GitHub Desktop.
Save eulersson/08529548cee3867853c4e2e73159a576 to your computer and use it in GitHub Desktop.
Changing install destination of compiled libraries
# /////////////////////////////////////////
# Choosing where library will be installed:
# /////////////////////////////////////////
# Option 1:
./configure --prefix=/path/where/to/install
# Options 2:
cmake -DCMAKE_INSTALL_PATH=/path/where/to/install .
# Option 3:
export DESTDIR=/path/where/to/install && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment