Skip to content
Shihao Qi
Projects
Writing
Notes
Search
About
中
TAG
C++
Everything filed under this tag.
1 entries
01
Notes
CMake set(CACHE ... FORCE) Overrides -D: -DGGML_CUDA=ON Never Takes Effect
2026-11-10
set(... CACHE ...) with FORCE overwrites the cache on every configure, including values passed with -D. One FORCE line in CMakeLists, commented as off by default, kept llama.cpp building as CPU-only on Windows: no errors, just slow.
#CMake
#C++
#Autarkia
← All tags
Search the site