Skip to content

Commit 16c0d2f

Browse files
authored
Removed gcc 4 constraint on unix (#1624)
1 parent 90d7cc3 commit 16c0d2f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,6 @@ IF(MINGW)
8383
SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,--enable-auto-import")
8484
ENDIF(MINGW)
8585

86-
# GCC 4 required
87-
IF(UNIX OR MINGW)
88-
EXEC_PROGRAM( gcc ARGS "-dumpversion" OUTPUT_VARIABLE GCC_VERSION )
89-
IF(GCC_VERSION VERSION_LESS "4.0.0")
90-
MESSAGE(FATAL_ERROR "GCC ${GCC_VERSION} found, but version 4.x.x minimum is required")
91-
ENDIF(GCC_VERSION VERSION_LESS "4.0.0")
92-
ENDIF(UNIX OR MINGW)
93-
9486
#The CDT Error Parser cannot handle error messages that span
9587
#more than one line, which is the default gcc behavior.
9688
#In order to force gcc to generate single line error messages with no line wrapping

0 commit comments

Comments
 (0)