Depending on the system and your privileges in it, you can change the owner or group of the program to the one who has privileges for setuid, and then set the setuid or setgid mode in the executable file through chmod
chgrp wheel my-awesome-program
chmod g+s my-awesome-program
or
chown superduperuser my-awesome-program
chmod u+s my-awesome-program
, . - , . .