Changeset 5702
- Timestamp:
- Aug 30, 2009, 1:19:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/cmake/CompilerConfigGCC.cmake
r5695 r5702 25 25 26 26 INCLUDE(FlagUtilities) 27 INCLUDE(CompareVersionStrings) 27 28 28 29 # Shortcut for CMAKE_COMPILER_IS_GNUCXX and ..._GNUC … … 36 37 ) 37 38 39 # Complain about incompatibilities 40 COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.4.0" _compare_result) 41 IF(NOT _compare_result LESS 0) 42 IF(${Boost_VERSION} LESS 103700) 43 MESSAGE(STATUS "Warning: Boost versions earlier than 1.37 may not compile with GCC 4.4 or later!") 44 ENDIF() 45 ENDIF() 46 38 47 # GCC may not support #pragma GCC system_header correctly when using 39 48 # templates. According to Bugzilla, it was fixed March 07 but tests 40 49 # have confirmed that GCC 4.0.0 does not pose a problem for our cases. 41 INCLUDE(CompareVersionStrings)42 50 COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.0.0" _compare_result) 43 51 IF(_compare_result LESS 0)
Note: See TracChangeset
for help on using the changeset viewer.