Changeset 3065 for trunk


Ignore:
Timestamp:
11/24/15 21:05:54 (9 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): none

Description: Committing the change to CMake script from Darrell. Updated the way to search boost libraries.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r3055 r3065  
    466466  message( FATAL_ERROR "Boost could not be found. Please check!" )
    467467endif()
     468
     469if(CMAKE_SYSTEM_NAME STREQUAL Linux AND Boost_LIBRARIES)
     470    if(EXISTS "/usr/lib64/libicuuc.so")
     471        set( Boost_LIBRARIES "${Boost_LIBRARIES};/usr/lib64/libicuuc.so" )
     472    endif( )
     473    if(EXISTS "/usr/lib64/libicudata.so")
     474        set( Boost_LIBRARIES "${Boost_LIBRARIES};/usr/lib64/libicudata.so" )
     475    endif( )
     476    if(EXISTS "/usr/lib64/libicui18n.so")
     477        set( Boost_LIBRARIES "${Boost_LIBRARIES};/usr/lib64/libicui18n.so" )
     478    endif( )
     479    message(STATUS "Boost_LIBRARIES=${Boost_LIBRARIES}")
     480endif( )
     481
     482
    468483message( STATUS "BOOST_INCLUDE_DIR = " ${Boost_INCLUDE_DIR} )
    469484message( STATUS "BOOST_LIBRARIES = " ${Boost_LIBRARIES} )
Note: See TracChangeset for help on using the changeset viewer.