message: Smarter CMake build type for superbuild as well
diff: @@ -14,7 +14,18 @@ if(NOT CMAKE_INSTALL_PREFIX)
  endif()
  if (NOT CMAKE_BUILD_TYPE)
  - set(CMAKE_BUILD_TYPE Release)
  + set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the build type." FORCE)
  +endif()
  +set(CONFIGURATION_TYPES "Debug;Release;RelWithDebInfo")
  +if (WIN32)
  + if (NOT OSPRAY_DEFAULT_CMAKE_CONFIGURATION_TYPES_SET)
  + set(CMAKE_CONFIGURATION_TYPES "${CONFIGURATION_TYPES}"
  + CACHE STRING "List of generated configurations." FORCE)
  + set(OSPRAY_DEFAULT_CMAKE_CONFIGURATION_TYPES_SET ON
  + CACHE INTERNAL "Default CMake configuration types set.")
  + endif()
  +else()
  + set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CONFIGURATION_TYPES})
  endif()
  if (NOT DEPENDENCIES_BUILD_TYPE)
  set(DEPENDENCIES_BUILD_TYPE Release)
  