remove ADD_DEFINITION(DUSE_GLOG) in Dependencies.cmake to avoid compilation 
warning


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

Branch: refs/heads/master
Commit: d238042df20efcfbfd60355a5030e6acaff02935
Parents: 2247f11
Author: wangwei <[email protected]>
Authored: Wed Mar 15 16:19:16 2017 +0800
Committer: wangwei <[email protected]>
Committed: Wed Mar 15 16:19:16 2017 +0800

----------------------------------------------------------------------
 cmake/Dependencies.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/d238042d/cmake/Dependencies.cmake
----------------------------------------------------------------------
diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake
index a3cd4ff..83c5187 100644
--- a/cmake/Dependencies.cmake
+++ b/cmake/Dependencies.cmake
@@ -68,7 +68,7 @@ ENDIF()
 FIND_PACKAGE(Glog)
 IF(GLOG_FOUND)
     #MESSAGE(STATUS "GLOG FOUND at ${GLOG_INCLUDE_DIR}")
-    ADD_DEFINITIONS("-DUSE_GLOG")
+    #ADD_DEFINITIONS("-DUSE_GLOG")
     SET(USE_GLOG TRUE)
     LIST(APPEND SINGA_LINKER_LIBS ${GLOG_LIBRARIES})
     INCLUDE_DIRECTORIES(${GLOG_INCLUDE_DIR})

Reply via email to