- CMake fatal error with message
[hunter ** FATAL ERROR **] Unexpected 'hunter_config' usage ...
hunter_configdesigned to be used in a special file
config.cmake, which is loaded and analyzed internally by Hunter. Users must not call this function explicitly in
CMakeLists.txt. The only correct way to use this function is to create separate
config.cmakefile and load it by
- Error can be suppressed by
set(HUNTER_ALLOW_CONFIG_LOADING YES)while using in unit tests