summaryrefslogtreecommitdiffstats
path: root/Modules/FindwxWidgets.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-01-18 20:52:54 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2008-01-18 20:52:54 (GMT)
commitfc8ce174334c3c33141d37ff2b86ea50226b7ce4 (patch)
tree1f911b47f1b323c1c8250cd6cc89c427c87e0860 /Modules/FindwxWidgets.cmake
parente5a4da5b3c930bf19710db638f3d1b86ccbfb3aa (diff)
downloadCMake-fc8ce174334c3c33141d37ff2b86ea50226b7ce4.zip
CMake-fc8ce174334c3c33141d37ff2b86ea50226b7ce4.tar.gz
CMake-fc8ce174334c3c33141d37ff2b86ea50226b7ce4.tar.bz2
ENH: remove RAISE_SCOPE() again and instead add SET(<var> <value> PARENT_SCOPE)
Alex
Diffstat (limited to 'Modules/FindwxWidgets.cmake')
-rw-r--r--Modules/FindwxWidgets.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake
index a41e43a..07dd29f 100644
--- a/Modules/FindwxWidgets.cmake
+++ b/Modules/FindwxWidgets.cmake
@@ -799,8 +799,8 @@ FUNCTION(WX_SPLIT_ARGUMENTS_ON _keyword _leftvar _rightvar)
ENDIF("${element}" STREQUAL "${_keyword}")
ENDFOREACH(element)
- RAISE_SCOPE(${_leftvar})
- RAISE_SCOPE(${_rightvar})
+ SET(${_leftvar} ${${_leftvar}} PARENT_SCOPE)
+ SET(${_rightvar} ${${_rightvar}} PARENT_SCOPE)
ENDFUNCTION(WX_SPLIT_ARGUMENTS_ON)
#
@@ -839,7 +839,7 @@ FUNCTION(WX_GET_DEPENDENCIES_FROM_XML
LIST(APPEND ${_depends} "${dep_file}")
ENDFOREACH(dep_file)
- RAISE_SCOPE(${_depends})
+ SET(${_depends} ${${_depends}} PARENT_SCOPE)
ENDFUNCTION(WX_GET_DEPENDENCIES_FROM_XML)
#
@@ -953,5 +953,5 @@ FUNCTION(WXWIDGETS_ADD_RESOURCES _outfiles)
# Add generated file to output file list.
LIST(APPEND ${_outfiles} "${outfile}")
- RAISE_SCOPE(${_outfiles})
+ SET(${_outfiles} ${${_outfiles}} PARENT_SCOPE)
ENDFUNCTION(WXWIDGETS_ADD_RESOURCES)