Last active
February 27, 2017 14:57
-
-
Save eulersson/08529548cee3867853c4e2e73159a576 to your computer and use it in GitHub Desktop.
Changing install destination of compiled libraries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ///////////////////////////////////////// | |
# 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