My Current Installed Directory : /tmp/usr/local and I wish to change to /usr/local
I tried the following but couldn't change the install location
sudo make install -DCMAKE_INSTALL_PREFIX=/usr/local
sudo make prefix=/usr/local install
sudo make install prefix=/usr/local
I tried to change CMAKE_FLAGS := -DCMAKE_INSTALL_PREFIX=/tmp/usr/local to CMAKE_FLAGS := -DCMAKE_INSTALL_PREFIX=/usr/local in Makefile present in home directory but still couldn't succeed.
My Current Installed Directory : /tmp/usr/local and I wish to change to /usr/local
I tried the following but couldn't change the install location
I tried to change CMAKE_FLAGS := -DCMAKE_INSTALL_PREFIX=/tmp/usr/local to CMAKE_FLAGS := -DCMAKE_INSTALL_PREFIX=/usr/local in Makefile present in home directory but still couldn't succeed.