[cmake-commits] martink committed CMakeLists.txt 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 3 11:21:42 EST 2008


Update of /cvsroot/CMake/CMake/Tests/FunctionTest/SubDirScope
In directory public:/mounts/ram/cvs-serv30051/Tests/FunctionTest/SubDirScope

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: change raise_scope signature to be safer for returned varuables


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/FunctionTest/SubDirScope/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CMakeLists.txt	2 Jan 2008 22:49:16 -0000	1.1
+++ CMakeLists.txt	3 Jan 2008 16:21:39 -0000	1.2
@@ -1,3 +1,4 @@
 SET(SUBDIR_DEFINED 1)
 SET(SUBDIR_UNDEFINED)
-RAISE_SCOPE(SUBDIR_DEFINED SUBDIR_UNDEFINED)
+RAISE_SCOPE(SUBDIR_DEFINED ${SUBDIR_DEFINED})
+RAISE_SCOPE(SUBDIR_UNDEFINED ${SUBDIR_UNDEFINED})



More information about the Cmake-commits mailing list