diff --git a/OpenCVPCHSupport.cmake b/OpenCVPCHSupport.cmake index de74e7262..3c3820125 100644 --- a/OpenCVPCHSupport.cmake +++ b/OpenCVPCHSupport.cmake @@ -21,10 +21,6 @@ IF(CMAKE_COMPILER_IS_GNUCXX) #MESSAGE("GCC Version: ${gcc_compiler_version}") IF(gcc_compiler_version MATCHES "4\\.[0,2-9]\\.[0-9]") SET(PCHSupport_FOUND TRUE) - ELSE() - IF(gcc_compiler_version MATCHES "3\\.4\\.[0-9]") - SET(PCHSupport_FOUND TRUE) - ENDIF() ENDIF() SET(_PCH_include_prefix "-I")