cmake
config_error
ai_generated
true
CMake Warning: Manually-specified variables were not used
ID: cmake/variable-not-set
80%Fix Rate
84%Confidence
3Evidence
2023-01-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 3 | active | — | — | — |
Root Cause
CMake variable set but not consumed or misspelled.
genericWorkarounds
-
88% success Check variable name spelling matches CMakeLists.txt expectations
-
85% success Use cmake -LA to list all available cache variables
Dead Ends
Common approaches that don't work:
-
Set all variables as CACHE FORCE
72% fail
Overrides intentional project defaults
-
Ignore all CMake warnings
78% fail
Misses real issues