turn off PCH support for GCC 3.x

This commit is contained in:
Vadim Pisarevsky 2010-07-10 14:27:03 +00:00
parent ae86ee5924
commit 030323c83f

View File

@ -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")