Commit a039d920 authored by cyrush's avatar cyrush

added init of opt_ARG_PREV to avoid cmake warning message

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@13492 18c085ea-50e0-402c-830e-de6fd14e8384
parent 1b16127e
......@@ -214,6 +214,10 @@
# Add support for optional TYPE [CMAKE_TYPE] arg par to the
# VISIT_OPTION_DEFAULT function.
#
# Cyrus Harrison, Wed Jan 12 11:41:21 PST 2011
# Added init of opt_ARG_PREV in VISIT_OPTION_DEFAULT to avoid cmake
# warning message.
#
#****************************************************************************/
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.0 FATAL_ERROR)
......@@ -248,7 +252,7 @@ SITE_NAME(HOSTNAME)
FUNCTION(VISIT_OPTION_DEFAULT var)
SET(opt_ARGS "")
SET(opt_TYPE "PATH")
SET(opt_ARG_PREV "")
SET(opt_ARG_PREV "[unset]")
FOREACH(opt_ARG ${ARGN})
## if arg is TYPE:
## we want to use the next value as the cmake var type
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment