[CMake] Don't require json
in ROOTConfig if no components specified
#12900
Loading
json
in ROOTConfig if no components specified
#12900