This is off-topic - it has nothing to do with Qt. You should be asking this on Kitware's CMake forum, not here.

All the INSTALL() command does is copy files. It doesn't execute them. If you want to execute a file after you have copied it, then you probably need some kind of "execute" command.