Skip to content
Errors
Commands
Flags
Config
Cheat sheets
Changes
Compat
Codes
Compare
Glossary
Search
Ctrl K
Browse
Error Messages
Commands
Flags & Options
Config Reference
Cheat Sheets
Version Changes
Compatibility
Codes & Tables
X vs Y
Glossary
All tools
Home
Tools
CMake
Editors & build tools
CMake
Cross-platform build system generator.
Official documentation
Errors
1
Changes
1
CMake: Could not find a package configuration file provided by "Foo"
find_package(Foo REQUIRED) fails when CMake finds neither FindFoo.cmake nor FooConfig.cmake. Install the dev package, or point CMAKE_PREFIX_PATH at it.
All CMake error messages
CMake 3 to 4: Compatibility with CMake < 3.5 has been removed
CMake 4.0 removed compatibility with cmake_minimum_required versions below 3.5, so old projects fail. Raise the version, use min...max, or a policy minimum.
All CMake version changes
Esc