turn off PCH support for GCC 3.x
This commit is contained in:
parent
ae86ee5924
commit
030323c83f
@ -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…
x
Reference in New Issue
Block a user