Clion error with 6.0.4

Is it this issue? Clion Exporter broken on Mac

If so, then if you pull the latest changes from the develop branch on GitHub things should work as expected.

Note that we have now deprecated the CLion exporter. To use CLion with JUCE you migrate to using JUCE’s direct CMake support, which is much more flexible.

https://github.com/juce-framework/JUCE/blob/master/docs/CMake%20API.md

https://github.com/juce-framework/JUCE/tree/master/examples/CMake