turn off PCH support for GCC 3.x

pull/13383/head
Vadim Pisarevsky 15 years ago
parent ae86ee5924
commit 030323c83f
  1. 4
      OpenCVPCHSupport.cmake

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

Loading…
Cancel
Save