COPY_PLUGIN_AFTER_BUILD TRUE on a CMake plugin JUCE target, building fails with:
CMake Error at _deps/juce-src/extras/Build/CMake/copyDir.cmake:24 (file): file INSTALL cannot find "/Users/username/dev/plugin/cmake-build-debug/Plugin_artefacts/Debug/AAX/Plugin.aaxplugin": No such file or directory.
And CMake is right because the products get placed in
So it looks like the toplevel CMake and the JUCE CMake don’t agree on the
In this case I’m showing CLion output, but the same behaviour happens when using cmake from the command line.
JUCE version is 6.0.4