What happens

  • CMake fatal error with message:

    [hunter ** FATAL ERROR **] Hunter not found in '...'
    [hunter ** FATAL ERROR **] Set HUNTER_RUN_INSTALL=ON to auto-install it from '...'


  • To avoid unintended buildings installation must be triggered only by user.

What to do

  • Check that Hunter root directory and archive version in error message is correct and set HUNTER_RUN_INSTALL=ON

  • Also if you’re sure about the project you can set default value by option command:

    option(HUNTER_RUN_INSTALL "Run Hunter autoinstall" ON)
        URL "..."
        SHA1 "..."