blob: b3c7b8dfed3a683a4ec604fca3527cab96648348 [file] [log] [blame]
function(update_x)
message("${x}")
math(EXPR y "${x} + 2")
variable_watch(x update_x)
set(x "${y}")
endfunction()
variable_watch(x update_x)
set(x 4)