hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmcc...@apache.org
Subject svn commit: r1592806 - /hadoop/common/branches/HADOOP-10388/hadoop-native-core/GenerateProtobufs.cmake
Date Tue, 06 May 2014 17:01:42 GMT
Author: cmccabe
Date: Tue May  6 17:01:41 2014
New Revision: 1592806

URL: http://svn.apache.org/r1592806
Log:
HADOOP-10573. fix hadoop native client CMakeLists.txt issue with older cmakes (Wenwu Peng
via Colin Patrick McCabe)

Modified:
    hadoop/common/branches/HADOOP-10388/hadoop-native-core/GenerateProtobufs.cmake

Modified: hadoop/common/branches/HADOOP-10388/hadoop-native-core/GenerateProtobufs.cmake
URL: http://svn.apache.org/viewvc/hadoop/common/branches/HADOOP-10388/hadoop-native-core/GenerateProtobufs.cmake?rev=1592806&r1=1592805&r2=1592806&view=diff
==============================================================================
--- hadoop/common/branches/HADOOP-10388/hadoop-native-core/GenerateProtobufs.cmake (original)
+++ hadoop/common/branches/HADOOP-10388/hadoop-native-core/GenerateProtobufs.cmake Tue May
 6 17:01:41 2014
@@ -52,7 +52,7 @@ function(DECLARE_PROTOS OUTPUT_SRC_LIST 
     set(${OUTPUT_SRC_LIST} ${CFILES} ${HFILES} PARENT_SCOPE)
 endfunction()
 
-get_filename_component(R "${CMAKE_CURRENT_LIST_DIR}/.." REALPATH)
+get_filename_component(R "${PROJECT_SOURCE_DIR}/.." REALPATH)
 
 # Common protobuf files.  In general, the other subprojects such as HDFS and
 # YARN may rely on definitions in these protobuf files.



Mime
View raw message