[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128222#comment-14128222
 ] 

Sean Zhong commented on MAPREDUCE-6078:
---------------------------------------

Hi binling,

The doc said the express at else and end is optional. 

from  http://www.cmake.org/cmake/help/v2.8.8/cmake.html#command:if
{quote}
Evaluates the given expression. If the result is true, the commands in the THEN 
section are invoked. Otherwise, the commands in the else section are invoked. 
The elseif and else sections are optional. You may have multiple elseif 
clauses. *** Note that the expression in the else and endif clause is 
optional.*** Long expressions can be used and there is a traditional order of 
precedence.
{quote}

> native-task: fix gtest build on macosx
> --------------------------------------
>
>                 Key: MAPREDUCE-6078
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6078
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: task
>            Reporter: Binglin Chang
>            Assignee: Binglin Chang
>            Priority: Trivial
>         Attachments: MAPREDUCE-6078.v1.patch
>
>
> Try compile the HEAD code in macos but failed, looks like MAPREDUCE-5977 
> separate gtest compile from nttest in order to surpress compile warnings, but 
> it forget to add addition compile flags added to nttest is also required for  
> gtest build, this patch fix this. 



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

Reply via email to