diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Modules/VolkBuildTypes.cmake b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Modules/VolkBuildTypes.cmake index 8dc25a0c5..1d138dc44 100644 --- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Modules/VolkBuildTypes.cmake +++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cmake/Modules/VolkBuildTypes.cmake @@ -51,8 +51,10 @@ function(VOLK_CHECK_BUILD_TYPE settype) return() # found it; exit cleanly endif() endforeach() - # Build type not found; error out - message(FATAL_ERROR "Build type '${settype}' not valid, must be one of: ${AVAIL_BUILDTYPES}") + # Build type not found; warn out at set it to None + message(STATUS "Warning: Build type '${settype}' not valid, must be one of: ${AVAIL_BUILDTYPES}.") + message(STATUS "Setting the build type to 'None'") + set(CMAKE_BUILD_TYPE "None" PARENT_SCOPE) endfunction() ########################################################################