Changeset 1972


Ignore:
Timestamp:
12/17/10 13:11:29 (14 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-2668

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Modified casacore search to find consistent include directory with
library found.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r1971 r1972  
    171171   endif()
    172172   set( _includename casa/aipsdef.h )
     173   string( REGEX REPLACE /[^/]+/[^/]+/?$ "" _coreroot ${CASACORE_LIBRARIES} )
     174   find_path( CASACORE_INCLUDE_DIR ${_includename}
     175              PATHS ${_coreroot}
     176              PATH_SUFFIXES include include/casacore
     177              NO_DEFAULT_PATH )
    173178   find_path( CASACORE_INCLUDE_DIR ${_includename}
    174179              PATHS ${CASACORE_PATHS}
Note: See TracChangeset for help on using the changeset viewer.