Commit 030323c8 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

turn off PCH support for GCC 3.x

parent ae86ee59
...@@ -21,10 +21,6 @@ IF(CMAKE_COMPILER_IS_GNUCXX) ...@@ -21,10 +21,6 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
#MESSAGE("GCC Version: ${gcc_compiler_version}") #MESSAGE("GCC Version: ${gcc_compiler_version}")
IF(gcc_compiler_version MATCHES "4\\.[0,2-9]\\.[0-9]") IF(gcc_compiler_version MATCHES "4\\.[0,2-9]\\.[0-9]")
SET(PCHSupport_FOUND TRUE) SET(PCHSupport_FOUND TRUE)
ELSE()
IF(gcc_compiler_version MATCHES "3\\.4\\.[0-9]")
SET(PCHSupport_FOUND TRUE)
ENDIF()
ENDIF() ENDIF()
SET(_PCH_include_prefix "-I") SET(_PCH_include_prefix "-I")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment