message: Adapted behaviour to set default cmake build type to 'RelWithDebInfo' to comply with the make script in use. The change was tested on a linux machine with cmake 3.13.1 and cmake 3.5.1 in single configuration mode.
diff: @@ -61,8 +61,10 @@ SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
  SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")
  SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
  -IF (NOT CMAKE_BUILD_TYPE)
  - message(FATAL_ERROR "Choose the type of build by setting -DCMAKE_BUILD_TYPE=<type>, options are: Debug Release")
  +IF(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
  + set(DEFAULT_BUILD_TYPE "RelWithDebInfo")
  + message(STATUS "Setting build type to '${DEFAULT_BUILD_TYPE}'.")
  + set(CMAKE_BUILD_TYPE "${DEFAULT_BUILD_TYPE}" CACHE STRING "Choose the type of build." FORCE)
  ENDIF()
  include_directories(src/include)
  