i think i changed nothing but now cmake --build . don't want to work anymore

i made a few local changes and now cmake --build . won’t work anymore, here is the git diff output:

when i run cmake . i get the following error:

I see one typo:


Even the previous code looks odd as it does CACHE STRING ${OUTPUT_PATH} which makes OUTPUT_PATH the documentation string for the cache entry.

I don’t see an error here. Is there other output that indicates an error available?

strange, after a bit playing around he told me the real error and now it’s working again, thanks for the fast reply. so you mean i should change CHACHE to STRING right ?

It depends on what you want. If you want it in the cache (which I don’t recommend), then it is a typo for CACHE. See the docs for set(CACHE) for the supported syntax.