What happens

  • CMake fatal error with message [hunter ** FATAL ERROR **] Building package from source is disabled ...


  • It means that HUNTER_DISABLE_BUILDS variable is set. When this variables is set expected that no builds will be triggered, i.e. all dependencies will be loaded from cache

What to do

  • Package is missing in cache => set HUNTER_DISABLE_BUILDS=NO to build and save package to cache (note that package and all dependencies should be cacheable)