diff --git a/docs/error_knowledge_base.md b/docs/error_knowledge_base.md index c480ae0c58..91452681e1 100644 --- a/docs/error_knowledge_base.md +++ b/docs/error_knowledge_base.md @@ -303,3 +303,7 @@ The file test_package/CMakeLists.txt should require CMake 3.1 by default: `cmake #### **#KB-H050: "DEFAULT SHARED OPTION VALUE"** By default, all packages should be built as static library (the option ``shared`` is ``False`` in ``default_options``). However, some projects can be restricted to shared library only, for those cases, open a new [issue](https://github.com/conan-io/hooks/issues) to include the package name in the allowlist. + +### **#KB-H051: "DEFAULT OPTIONS AS DICTIONARY"** + +The attribue `default_options` should be a dictionary, for example `default_options = {'shared': False, 'fPIC': True}`.