aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-02-19 19:19:42 +0100
committerStephen Kelly <steveire@gmail.com>2013-02-19 19:19:42 +0100
commit8535f69e03c0167c99a62ab9077d8413162399dc (patch)
treede346e92cbb5aaae3df05aed01d3599bacfd51e7
parentca7e45738369e6a0c64fbe86a3622c7886c68d8d (diff)
downloadextra-cmake-modules-8535f69e03c0167c99a62ab9077d8413162399dc.tar.gz
extra-cmake-modules-8535f69e03c0167c99a62ab9077d8413162399dc.tar.bz2
Remove check for GCC < 4.3.
The only use of this was removed recently in 93457e172cf17a442938614cca1862a2dcfd889f
-rw-r--r--kde-modules/KDECompilerSettings.cmake4
1 files changed, 0 insertions, 4 deletions
diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake
index 754a6f21..05d26b16 100644
--- a/kde-modules/KDECompilerSettings.cmake
+++ b/kde-modules/KDECompilerSettings.cmake
@@ -334,10 +334,6 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual")
endif()
- if(NOT "${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS "4.3.0")
- set(GCC_IS_NEWER_THAN_4_3 TRUE)
- endif()
-
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=return-type")
set(_GCC_COMPILED_WITH_BAD_ALLOCATOR FALSE)