set(my_variable "the value is a string")
By default, a local variable is only defined in the current directory and any subdirectories added through the add_subdirectory command.
To extend the scope of a variable there are two possibilities:
CACHE it, which will make it globally av...