--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,5 +24,5 @@
 
 subdirs(src)
 
-install(FILES systemd/qrsspig.service DESTINATION /lib/systemd/system/)
-install(FILES etc/qrsspig.yaml DESTINATION /etc/qrsspig/)
+install(FILES systemd/qrsspig.service DESTINATION @TERMUX_PREFIX@/lib/systemd/system/)
+install(FILES etc/qrsspig.yaml DESTINATION @TERMUX_PREFIX@/etc/qrsspig/)
