1 2 3 4
set(UNUSED_VARIABLE) # Warning should occur here set(UNUSED_VARIABLE "Usage") message(STATUS "${UNUSED_VARIABLE}")