Commit ca9ff570 authored by bonnell's avatar bonnell
Browse files

Change location of setting CMAKE_BUILD_TYPE

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@14019 18c085ea-50e0-402c-830e-de6fd14e8384
parent 8fb092bc
......@@ -295,6 +295,14 @@ IF (NOT WIN32)
ENDIF (NOT WIN32)
#-----------------------------------------------------------------------------
# If not already set, we use a default build type of Release
#-----------------------------------------------------------------------------
IF (NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build,
options are: Debug Release RelWithDebInfo MinSizeRel.")
ENDIF()
#-----------------------------------------------------------------------------
# Set compiler from config-site
......@@ -357,15 +365,6 @@ IF (WIN32)
MESSAGE(STATUS "VISIT_WIN_ICON_RESOURCE = ${VISIT_WIN_ICON_RESOURCE}")
ENDIF (WIN32)
#-----------------------------------------------------------------------------
# If not already set, we use a default build type of Release
#-----------------------------------------------------------------------------
IF (NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build,
options are: Debug Release RelWithDebInfo MinSizeRel.")
ENDIF()
#-----------------------------------------------------------------------------
# Output directories.
#-----------------------------------------------------------------------------
......
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