summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/variable_watch/NoWatcher.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/variable_watch/NoWatcher.cmake')
-rw-r--r--Tests/RunCMake/variable_watch/NoWatcher.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/RunCMake/variable_watch/NoWatcher.cmake b/Tests/RunCMake/variable_watch/NoWatcher.cmake
new file mode 100644
index 000000000..8a68efbe4
--- /dev/null
+++ b/Tests/RunCMake/variable_watch/NoWatcher.cmake
@@ -0,0 +1,8 @@
+function(my_func)
+ message("my_func")
+endfunction()
+variable_watch(a my_func)
+set(a "")
+
+variable_watch(b)
+set(b "")