rizinorg / rizin-pm

1 stars 3 forks source link

rz-ghidra: Add CMAKE_INSTALL_PREFIX to install locally #8

Open chinggg opened 3 years ago

chinggg commented 3 years ago

5 should have allowed the rz-ghidra plugin to be installed locally using rz-pm -i by using RIZIN_INSTALL_PLUGDIR but as rizinorg/rz-pm#10 shows rz-ghidra will still be installed in /usr/local, which requires root priviledge.

So I added -DCMAKE_INSTALL_PREFIX=~/.local as https://github.com/rizinorg/rz-ghidra#building says, it works now. I hope it will not affect RIZIN_INSTALL_PLUGDIR, though I could not find RIZIN_INSTALL_PLUGDIR anywhere.