Changeset 3117 for code/branches/pch/cmake/BuildConfigGCC.cmake
- Timestamp:
- Jun 3, 2009, 8:40:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/cmake/BuildConfigGCC.cmake
r3116 r3117 43 43 ENDIF() 44 44 45 # GCC only supports PCH in versions 3.4 and above 46 INCLUDE(CompareVersionStrings) 47 COMPARE_VERSION_STRINGS("${GCC_VERSION}" "3.4.0" _compare_result) 48 IF(_compare_result GREATER -1) 49 SET(PCH_COMPILER_SUPPORT TRUE) 50 ENDIF() 51 45 52 # Also include environment flags. Could cause conflicts though 46 53 SET_COMPILER_FLAGS("$ENV{CXXFLAGS}" CXX CACHE)
Note: See TracChangeset
for help on using the changeset viewer.