Commit e4a84e94 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

remove obsolete/duplicate option `PARAVIEW_BUILD_TYPE`

Remove `PARAVIEW_BUILD_TYPE`. The same role is played by
`CMAKE_BUILD_TYPE_paraview`.
parent 754794b7
......@@ -42,18 +42,6 @@ if (superbuild_build_phase)
string(REPLACE ";" "${_superbuild_list_separator}" paraview_plugin_dirs "${paraview_plugin_dirs}")
endif ()
if (NOT CMAKE_CONFIGURATION_TYPES AND NOT WIN32)
set(PARAVIEW_BUILD_TYPE ""
CACHE STRING "ParaView's build mode")
mark_as_advanced(PARAVIEW_BUILD_TYPE)
if (NOT PARAVIEW_BUILD_TYPE)
set(PARAVIEW_BUILD_TYPE "${CMAKE_BUILD_TYPE}")
endif ()
set(CMAKE_BUILD_TYPE_save "${CMAKE_BUILD_TYPE}")
set(CMAKE_BUILD_TYPE "${PARAVIEW_BUILD_TYPE}")
endif ()
set(paraview_smp_backend "Sequential")
if (tbb_enabled)
set(paraview_smp_backend "TBB")
......@@ -219,10 +207,6 @@ superbuild_add_project(paraview
${PARAVIEW_EXTRA_CMAKE_ARGUMENTS})
if (DEFINED CMAKE_BUILD_TYPE_save)
set(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE_save}")
endif ()
if (paraview_install_development_files)
find_program(SED_EXECUTABLE sed)
mark_as_advanced(SED_EXECUTABLE)
......
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