Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7521


Ignore:
Timestamp:
Oct 11, 2010, 12:32:23 PM (14 years ago)
Author:
rgrieder
Message:

Bugfix (no GCC_VERSION variable with other compilers).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ois_update/cmake/LibraryConfig.cmake

    r7518 r7521  
    168168MARK_AS_ADVANCED(Boost_LIB_DIAGNOSTIC_DEFINITIONS)
    169169# Complain about incompatibilities
    170 COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.4.0" _compare_result)
    171 IF(NOT _compare_result LESS 0)
    172   IF(${Boost_VERSION} LESS 103700)
    173     MESSAGE(STATUS "Warning: Boost versions earlier than 1.37 may not compile with GCC 4.4 or later!")
     170IF(GCC_VERSION)
     171  COMPARE_VERSION_STRINGS("${GCC_VERSION}" "4.4.0" _compare_result)
     172  IF(NOT _compare_result LESS 0)
     173    IF(${Boost_VERSION} LESS 103700)
     174      MESSAGE(STATUS "Warning: Boost versions earlier than 1.37 may not compile with GCC 4.4 or later!")
     175    ENDIF()
    174176  ENDIF()
    175177ENDIF()
Note: See TracChangeset for help on using the changeset viewer.