Hi all.
I was just wondering how can I replace
./configure --prefix=/usr/
or
./autogen.sh --prefix=/usr/
while using cmake and I have found the answer.
It’s quite simple but worth remembering so I have decided to post it here.
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/ ../
Of course prefix /usr/ can be changed to whatever you want it to be…
Regards.
Andy