You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by ha...@apache.org on 2016/10/29 06:24:09 UTC

incubator-quickstep git commit: Suppress glog compilation warnings.

Repository: incubator-quickstep
Updated Branches:
  refs/heads/glog-fix-apple [created] 8baa8c375


Suppress glog compilation warnings.


Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/8baa8c37
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/8baa8c37
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/8baa8c37

Branch: refs/heads/glog-fix-apple
Commit: 8baa8c375b9797c8d6488dc6e676af98385d6996
Parents: 7f0067b
Author: Hakan Memisoglu <ha...@apache.org>
Authored: Sat Oct 29 01:21:36 2016 -0500
Committer: Hakan Memisoglu <ha...@gmail.com>
Committed: Sat Oct 29 01:23:15 2016 -0500

----------------------------------------------------------------------
 CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/8baa8c37/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 487aaf9..ab22ba3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -670,6 +670,11 @@ if (WIN32)
     APPEND PROPERTY COMPILE_DEFINITIONS GOOGLE_GLOG_DLL_DECL=
   )
   include_directories(${THIRD_PARTY_SOURCE_DIR}/glog/src/windows)
+elseif (APPLE)
+  set_property(
+    TARGET glog
+    APPEND PROPERTY COMPILE_OPTIONS " -Wno-deprecated-declarations "
+  )
 else()
   include_directories(${THIRD_PARTY_SOURCE_DIR}/glog/src)
   include_directories(${CMAKE_CURRENT_BINARY_DIR}/third_party)