Remove the fatal_warnings option which is no longer used.

This commit is contained in:
Stephen Kelly 2011-08-10 10:24:04 +02:00
parent b19911ecab
commit 4718233a37
1 changed files with 0 additions and 12 deletions

View File

@ -232,18 +232,6 @@ function(add_compiler_export_flags)
return() return()
endif() endif()
set(options)
set(oneValueArgs FATAL_WARNINGS)
set(multiValueArgs)
cmake_parse_arguments(_EGHV "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
set(MESSAGE_TYPE WARNING)
if(_EGHV_FATAL_WARNINGS)
set(MESSAGE_TYPE FATAL_ERROR)
endif()
if (CMAKE_COMPILER_IS_GNUCXX) if (CMAKE_COMPILER_IS_GNUCXX)
exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info)
string (REGEX MATCH "[345]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") string (REGEX MATCH "[345]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}")