summaryrefslogtreecommitdiffstats
path: root/Tests/FunctionTest/SubDirScope
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-02 22:49:16 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-02 22:49:16 (GMT)
commitdcd9a1b59f58031a1eb94841a9c1cb58d5f9eff1 (patch)
treec7183188ebefa130dccc2d4e67ba9bd405094549 /Tests/FunctionTest/SubDirScope
parentec05369d04f155fc9d1456bfb6c535d7cce58279 (diff)
downloadCMake-dcd9a1b59f58031a1eb94841a9c1cb58d5f9eff1.zip
CMake-dcd9a1b59f58031a1eb94841a9c1cb58d5f9eff1.tar.gz
CMake-dcd9a1b59f58031a1eb94841a9c1cb58d5f9eff1.tar.bz2
BUG: Make RAISE_SCOPE function work when variable is not defined.
Diffstat (limited to 'Tests/FunctionTest/SubDirScope')
-rw-r--r--Tests/FunctionTest/SubDirScope/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/FunctionTest/SubDirScope/CMakeLists.txt b/Tests/FunctionTest/SubDirScope/CMakeLists.txt
new file mode 100644
index 0000000..174b9b0
--- /dev/null
+++ b/Tests/FunctionTest/SubDirScope/CMakeLists.txt
@@ -0,0 +1,3 @@
+SET(SUBDIR_DEFINED 1)
+SET(SUBDIR_UNDEFINED)
+RAISE_SCOPE(SUBDIR_DEFINED SUBDIR_UNDEFINED)