Repository: incubator-quickstep Updated Branches: refs/heads/master 0fe838dfe -> b237969cb
Temporary Build Support for OS X 10.13 Change of Regular Expression Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/b237969c Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/b237969c Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/b237969c Branch: refs/heads/master Commit: b237969cb490519ffc9a1403dc327432c3625e7b Parents: 0fe838d Author: Yuanchen Li <y...@y-l.me> Authored: Thu Nov 9 02:18:42 2017 -0600 Committer: Yuanchen Li <y...@y-l.me> Committed: Sat Nov 18 16:01:15 2017 -0600 ---------------------------------------------------------------------- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b237969c/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 071f8fc..60d8a2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -302,11 +302,11 @@ else() endif() endif() - # OSX 10.12 has deprecated certain system-level APIs which causes protobuf & glog + # OSX 10.12+ has deprecated certain system-level APIs which causes protobuf & glog # builds to fail. As a short-term workaround for now, we turn off deprecated # warnings so that they do not cause build failures anymore. # TODO: Remove this workaround by fixing the protobuf_cmake and glog_cmake. - if (${CMAKE_SYSTEM} MATCHES "Darwin-16.[0-9]*.[0-9]*") + if (${CMAKE_SYSTEM} MATCHES "Darwin-1[67].[0-9]*.[0-9]*") if (${CMAKE_CXX_COMPILER_ID} MATCHES "Clang") CHECK_CXX_COMPILER_FLAG("-Wno-error=deprecated-declarations" COMPILER_HAS_WNO_DEPRECATED) if (COMPILER_HAS_WNO_DEPRECATED)