Repository: hadoop Updated Branches: refs/heads/HDFS-8707 894e96241 -> e1aa7e5c6
HDFS-9460. Suppress warnings from third-party libraries. Contributed by Bob Hansen. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e1aa7e5c Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e1aa7e5c Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e1aa7e5c Branch: refs/heads/HDFS-8707 Commit: e1aa7e5c62eae3f95b106a61e8f724f8ca10068b Parents: 894e962 Author: James <[email protected]> Authored: Tue Dec 8 16:15:12 2015 -0500 Committer: James <[email protected]> Committed: Tue Dec 8 16:15:12 2015 -0500 ---------------------------------------------------------------------- .../src/main/native/libhdfspp/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/e1aa7e5c/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/CMakeLists.txt b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/CMakeLists.txt index 4cc66fd..128527a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/CMakeLists.txt +++ b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/CMakeLists.txt @@ -47,6 +47,10 @@ endif(DOXYGEN_FOUND) include_directories( include lib + ../libhdfs/include +) + +include_directories( SYSTEM ${PROJECT_BINARY_DIR}/lib/proto third_party/asio-1.10.2/include third_party/rapidxml-1.13 @@ -54,7 +58,6 @@ include_directories( third_party/tr2 third_party/protobuf ${OPENSSL_INCLUDE_DIR} - ../libhdfs/include ) set(PROTO_HDFS_DIR ${CMAKE_CURRENT_LIST_DIR}/../../../../../hadoop-hdfs-client/src/main/proto)
