You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by ji...@apache.org on 2018/02/26 19:16:04 UTC

[23/46] incubator-quickstep git commit: Temporary Build Support for OS X 10.13

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/fix-iwyu
Commit: b237969cb490519ffc9a1403dc327432c3625e7b
Parents: 0fe838d
Author: Yuanchen Li <yl...@y-l.me>
Authored: Thu Nov 9 02:18:42 2017 -0600
Committer: Yuanchen Li <yl...@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)