Changeset 2558


Ignore:
Timestamp:
06/11/12 18:34:31 (13 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No (Propagated a change from Darrell)

Ready for Test: Yes

Interface Changes: Yes

What Interface Changed: Enabled specifying a path to libalma as a cmake option, ALMA_LIB_PATH.

Test Programs: cmake .. at asap/build/

Put in Release Notes: No

Module(s):

Description:

Propagated a change from Darrell to build release packages.
It is now possible to specify a path to libalma as a cmake option, ALMA_LIB_PATH.
Usage:
cmake -DALMA_LIB_PATH=/your/path/to/libalma.so

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/withcasa.cmake

    r2417 r2558  
    143143                      ${CASA_CODE_PATH}/alma/implement/Enumtcl
    144144                      ${LIBXML2_INCLUDE_DIR} )
    145 set( ASDM_LIBRARY ${casaroot}/${arch}/lib/libalma${CMAKE_SHARED_LIBRARY_SUFFIX}
    146                   ${LIBXML2_LIBRARY}/libxml2${CMAKE_SHARED_LIBRARY_SUFFIX} )
     145if ( NOT ALMA_LIB_PATH )
     146   set( ASDM_LIBRARY ${casaroot}/${arch}/lib/libalma${CMAKE_SHARED_LIBRARY_SUFFIX}
     147                     ${LIBXML2_LIBRARY}/libxml2${CMAKE_SHARED_LIBRARY_SUFFIX} )
     148else( )
     149   set( ASDM_LIBRARY ${ALMA_LIB_PATH}
     150                     ${LIBXML2_LIBRARY}/libxml2${CMAKE_SHARED_LIBRARY_SUFFIX} )
     151endif( )
     152message( STATUS "ASDM_LIBRARY = " ${ASDM_LIBRARY} )
    147153add_definitions( -DWITHOUT_ACS )
    148154
Note: See TracChangeset for help on using the changeset viewer.