hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre de Freminville (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HAWQ-1172) FindLibUUID.cmake doesn't include the headers
Date Fri, 25 Nov 2016 17:58:58 GMT
Pierre de Freminville created HAWQ-1172:
-------------------------------------------

             Summary: FindLibUUID.cmake doesn't include the headers
                 Key: HAWQ-1172
                 URL: https://issues.apache.org/jira/browse/HAWQ-1172
             Project: Apache HAWQ
          Issue Type: Bug
          Components: libhdfs
            Reporter: Pierre de Freminville
            Assignee: Lei Chang


Hello I found a bug in FindLibUUID.cmake

The incorrect line is the following:
FIND_PATH(LIBUUID_INCLUDE_DIR uuid/uuid.h)

It should be replaced with the following:
FIND_PATH(LIBUUID_INCLUDE_DIR uuid/uuid.h)

Otherwise the libuuid include directory is not included in the src/CMakeLists.txt:
IF(OS_LINUX)
    TARGET_LINK_LIBRARIES(libhdfs3-static ${LIBUUID_LIBRARIES})
    TARGET_LINK_LIBRARIES(libhdfs3-shared ${LIBUUID_LIBRARIES})
    INCLUDE_DIRECTORIES(${LIBUUID_INCLUDE_DIRS})
ENDIF(OS_LINUX)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message