Changeset 2982 for trunk/cmake


Ignore:
Timestamp:
08/07/14 12:51:53 (10 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: cmake with LIBXML2_ROOT_DIR specified

Put in Release Notes: No

Module(s): asap build

Description: committing changes to withcasa.cmake received from Darrell. Added hints of path to libxml2. CMake searches libxml include files for ${LIBXML2_ROOT_DIR}/include and library for ${LIBXML2_ROOT_DIR}.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/withcasa.cmake

    r2971 r2982  
    148148#
    149149find_path( LIBXML2_INCLUDE_DIR libxml/xmlversion.h
     150  HINTS ${LIBXML2_ROOT_DIR}/include
    150151           PATH_SUFFIXES libxml2 )
    151152if( LIBXML2_INCLUDE_DIR MATCHES "NOTFOUND$" )
     
    154155message( STATUS "LIBXML2_INCLUDE_DIR = " ${LIBXML2_INCLUDE_DIR} )
    155156find_path( LIBXML2_LIBRARY libxml2${CMAKE_SHARED_LIBRARY_SUFFIX}
     157  HINTS ${LIBXML2_ROOT_DIR}
    156158           PATHS /usr
    157159           PATH_SUFFIXES lib64 lib lib/x86_64-linux-gnu)
Note: See TracChangeset for help on using the changeset viewer.