Join GitHub today
[cmake] Fix double install of skins #10656
Skins were installed twice on linux (to the same place) so that make uninstall reported errors.
After investigation, the second "install" on windows covered the issue, that the windows build script created empty xbt files. Those were overridden by cmake again so that it wasn't noticed.
win32 error: Error in script "genNsisInstaller.nsi" on line 179 -- aborting creation process
Skins are already handled in main CMakeLists.txt. Audioencoders are listed twice in installdata.
CMake's pack-skin target already packages the skin (builds the xbt files). The current scripts produced empty xbt files, and the final package only worked because of an error in CMake which was overriding the xbt file again with a working version.