radareorg / r2retdec

RetDec plugin for Radare2
https://retdec.com/
MIT License
125 stars 24 forks source link

CMakeLists.txt: Use PATH type for RETDEC_INSTALL_PREFIX #7

Closed thestr4ng3r closed 4 years ago

thestr4ng3r commented 4 years ago

If you pass -DRETDEC_INSTALL_PREFIX=~/.local as is with STRING, you will get the exact string ~/.local compiled into the binary, which won't work because of the '~'.

By the way, great job on the plugin. I love it!

xkubov commented 4 years ago

You are right. This is certainly a bug. Thank you for the fix! I approve the change.