diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-01-03 16:22:33 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-01-03 16:22:33 (GMT) |
commit | ac4c2f675a5607839a639d2297002c85351bfbe7 (patch) | |
tree | c859990e5578df97976d80ec535b8f81c250c1a9 /Tests/FunctionTest/Util.cmake | |
parent | c61a3b6fe9580687458fc9687174a1acce4edf77 (diff) | |
download | CMake-ac4c2f675a5607839a639d2297002c85351bfbe7.zip CMake-ac4c2f675a5607839a639d2297002c85351bfbe7.tar.gz CMake-ac4c2f675a5607839a639d2297002c85351bfbe7.tar.bz2 |
ENH: change raise_scope signature to be safer for returned varuables
Diffstat (limited to 'Tests/FunctionTest/Util.cmake')
-rw-r--r-- | Tests/FunctionTest/Util.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/FunctionTest/Util.cmake b/Tests/FunctionTest/Util.cmake new file mode 100644 index 0000000..2b40cdf --- /dev/null +++ b/Tests/FunctionTest/Util.cmake @@ -0,0 +1,4 @@ +function(tester) + set (tester_res "${CMAKE_CURRENT_LIST_FILE}") + raise_scope(tester_res) +endfunction(tester) |