CMake: building a target always builds everything

I don’t know if it is a cmake or a juce thing, but regardless of which target I select to build, it builds the ALL_BUILD and ZERO_CHECK. In the console I see these warnings:

note: Run script build phase ‘Generate CMakeFiles/ALL_BUILD’ will be run during every build because the option to run the script phase “Based on dependency analysis” is unchecked. (in target ‘ALL_BUILD’ from project ‘foleys_licensing_client’)
note: Run script build phase ‘Generate CMakeFiles/ZERO_CHECK’ will be run during every build because the option to run the script phase “Based on dependency analysis” is unchecked. (in target ‘ZERO_CHECK’ from project ‘foleys_licensing_client’)
note: Run script build phase ‘CMake PostBuild Rules’ will be run during every build because the option to run the script phase “Based on dependency analysis” is unchecked. (in target ‘FoleysJuceLicenseExample_VST3’ from project ‘foleys_licensing_client’)
note: Run script build phase ‘CMake PostBuild Rules’ will be run during every build because the option to run the script phase “Based on dependency analysis” is unchecked. (in target ‘FoleysJuceLicenseExample_Standalone’ from project ‘foleys_licensing_client’)
note: Run script build phase ‘CMake PostBuild Rules’ will be run during every build because the option to run the script phase “Based on dependency analysis” is unchecked. (in target ‘FoleysJuceLicenseExample_AU’ from project ‘foleys_licensing_client’)

Does anybody know, what option they are talking about and how to switch it off?

An Open Source example can be found here:

Looks like a CMake/Xcode thing, there’s a relevant bug report on the CMake gitlab instance

Thank you @reuk for looking into that.

It seems that my issues were of a different nature.

So the warnings can be ignored.

Thank you!