Is not just me... just grep `cfg_target` in `pkg/`. It's a must for packaging.
OK, can you try with this [a08da7b](https://github.com/kamailio/kamailio/commit/a08da7b34b01f4b0a579fbfdc141bf29...) changes or did you already tried it?
If it's still not working, I'll introduce a new variable you can set, and discuss on where it should be used in the CMakelists.txt
Already tried, not working for me, sorry