Closed XVilka closed 5 years ago
Hey, some libraries should be in /usr/local cmake lookup
For CMake, there’s CMAKE_INSTALL_PREFIX:
$ cmake -DCMAKE_INSTALL_PREFIX=$HOME/.local ..
Cool but not interesting. We have a lot of projects where common library used.
If you follow https://github.com/fastogt/fastonosql/wiki/Build instructions it by default tries to install into
/usr/local
on Linux and doesn't asking for sudo. The best option is to use~/.local/bin
by default if the user is not root: https://unix.stackexchange.com/questions/316765/which-distributions-have-home-local-bin-in-path