Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2649 for code


Ignore:
Timestamp:
Feb 12, 2009, 3:28:48 PM (16 years ago)
Author:
rgrieder
Message:

Boost finding bugfix for versions less than 1.35

File:
1 edited

Legend:

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

    r2645 r2649  
    166166# Expand the next statement if newer boost versions than 1.36.1 are released
    167167SET(Boost_ADDITIONAL_VERSIONS 1.37 1.37.0)
    168 # MSVC seems to be the only compiler requiring system and date_time
     168# MSVC seems to be the only compiler requiring date_time
    169169IF(MSVC)
    170   FIND_PACKAGE(Boost 1.34 REQUIRED thread filesystem date_time system)
     170  FIND_PACKAGE(Boost 1.34 REQUIRED thread filesystem date_time)
    171171ELSE(MSVC)
    172   FIND_PACKAGE(Boost 1.34 REQUIRED thread filesystem system)
     172  FIND_PACKAGE(Boost 1.34 REQUIRED thread filesystem)
    173173ENDIF(MSVC)
     174# Boost 1.35 and newer also need the 'System' library
     175IF(NOT Boost_VERSION LESS 103500)
     176  FIND_PACKAGE(Boost 1.35 REQUIRED system)
     177ENDIF()
    174178
    175179####### Static/Dynamic linking options ##########
Note: See TracChangeset for help on using the changeset viewer.