I’m trying to set up CPack for building my plugin installers (with CPack’s productbuild
generator, to generate a .pkg
package on Mac).
I’m calling the install commands with relative paths in my cmakelists like this:
install (TARGETS MyVST3
DESTINATION "Library/Audio/Plug-Ins/VST3"
COMPONENT MyVST3)
install (TARGETS MyAU
DESTINATION "Library/Audio/Plug-Ins/Components"
COMPONENT MyAU)
and then after I build the .pkg
, it appears to be prepending Applications/
to the payload paths – it displays the destination paths as ./Applications/Library/Audio/Plug-Ins/VST3/
and ./Applications/Library/Audio/Plug-Ins/Components/
Is this just a property of CPack’s productbuild
generator, does it automatically prepend Applications/
to all destination paths?