515f9af0d4
When a watch does not specify a command to call then variable_watch prints out a message to stderr. Remove code after that which collects all variable values to construct a message that is never printed. Otherwise such code causes a READ_ACCESS watch to trigger on all variables in the currents scope. Reported-by: Yichao Yu <yyc1992@gmail.com>
9 lines
118 B
CMake
9 lines
118 B
CMake
function(my_func)
|
|
message("my_func")
|
|
endfunction()
|
|
variable_watch(a my_func)
|
|
set(a "")
|
|
|
|
variable_watch(b)
|
|
set(b "")
|