summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/GenerateExportHeader.cmake12
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}")