diff options
author | Stephen Kelly <steveire@gmail.com> | 2011-08-10 08:24:04 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2011-08-10 08:24:36 (GMT) |
commit | 4718233a37f0180b1716db31df090a3f649e854a (patch) | |
tree | 0f6da08e807122df89c35000599ba1904c688268 /Modules/GenerateExportHeader.cmake | |
parent | b19911ecab8178230ef5f1605e7730f842b39633 (diff) | |
download | CMake-4718233a37f0180b1716db31df090a3f649e854a.zip CMake-4718233a37f0180b1716db31df090a3f649e854a.tar.gz CMake-4718233a37f0180b1716db31df090a3f649e854a.tar.bz2 |
Remove the fatal_warnings option which is no longer used.
Diffstat (limited to 'Modules/GenerateExportHeader.cmake')
-rw-r--r-- | Modules/GenerateExportHeader.cmake | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Modules/GenerateExportHeader.cmake b/Modules/GenerateExportHeader.cmake index 67a16a9..659b32a 100644 --- a/Modules/GenerateExportHeader.cmake +++ b/Modules/GenerateExportHeader.cmake @@ -232,18 +232,6 @@ function(add_compiler_export_flags) return() 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) 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}") |