(CMake): fix executable installer
What does this MR do?
This enables the packaging of executable programs under windows.
By the way, the call of generic_install() is now done automatically for all APP and EXECUTABLE targets, thus enabling packaging automatically. A warning is displayed if the macro is called in the CMakeLists.txt of the application.
How to test it?
- Build astraViewer executable (it uses Qt plugins which were not installed before for executables)
- Create a package
- Run the program from the programs or desktop shortcut
Additional tests to run
-
Check that XML applications packaging still works properly