diff --git a/docs/usage.rst b/docs/usage.rst index 46d9e549..e0e21afa 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -236,6 +236,12 @@ like: cmake .. -G "Ninja Multi-Config" -DCMAKE_TOOLCHAIN_FILE=/conan_toolchain.cmake cmake --build . --config Release +.. note:: + + In case you can't use CMake 3.23 but you have access to CMake 3.20 or later, you can append + ``-c tools.cmake.cmaketoolchain.presets:max_schema_version=2`` to the ``conan install`` command + which will force Conan to use an older version of CMake Presets schema. + Installation and Reuse ----------------------