System Preferences > Security & Privacy > General > Allow apps downloaded from: Anywhere
Separate names with a comma.