CMake variables are case sensitive. See the documentation .
As a side note, the parties are case insensitive and their arguments are case sensitive. See the wiki . Keywords such as STATUS are case sensitive because they are arguments. Example:
message(STATUS foo) MESSAGE(status foo)
outputs:
foo statusfoo
the second is marked as a warning (default message type).
Still considering case sensitivity, see also the boolean variable section.
source share