Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 418


Ignore:
Timestamp:
Dec 5, 2007, 6:38:47 PM (17 years ago)
Author:
bknecht
Message:

cool fix for boost compiling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/cmake/FindBoost.cmake

    r371 r418  
    144144      SET(Boost_LIBRARY_DIR ${Boost_LIBRARY_DIR}/stage/lib)
    145145    ELSE(EXISTS "${Boost_LIBRARY_DIR}/stage/lib")
    146       SET(Boost_LIBRARY_DIR "")
     146      IF(EXISTS "${Boost_LIBRARY_DIR}/../../lib")
     147        SET(Boost_LIBRARY_DIR "${Boost_LIBRARY_DIR}/../../lib")
     148      ELSE(EXISTS "${Boost_LIBRARY_DIR}/../../lib")
     149        SET(Boost_LIBRARY_DIR "")
     150      ENDIF(EXISTS "${Boost_LIBRARY_DIR}/../../lib")
    147151    ENDIF(EXISTS "${Boost_LIBRARY_DIR}/stage/lib")
    148152  ENDIF(EXISTS "${Boost_LIBRARY_DIR}/lib")
     
    167171# List of library suffixes to search, e.g. libboost_date_time-gcc
    168172SET(BOOST_SUFFIX_SEARCH
     173  mt
    169174  gcc41-mt
    170175  gcc
     
    193198#   Boost_LIB_PREFIX, Boost_LIB_SUFFIX, Boost_LIB_SUFFIX_DEBUG
    194199# otherwise we'll search the BOOST_SUFFIX_SEARCH list
     200
    195201  SET(BOOST_LIB_NAMES ${Boost_LIB_PREFIX}boost_${name}-${Boost_LIB_SUFFIX})
    196202  IF(NOT Boost_LIB_SUFFIX)
     
    233239    MARK_AS_ADVANCED(Boost_${name}_LIBRARY Boost_${name}_LIBRARY_DEBUG)
    234240  ELSE(Boost_${name}_LIBRARY)
     241    MESSAGE(STATUS "sdfds")
    235242    IF(NOT Boost_FIND_QUIETLY)
    236243      MESSAGE(STATUS "Boost ${name} library was not found.")
Note: See TracChangeset for help on using the changeset viewer.