wangwei created SINGA-306:
-----------------------------

             Summary: Write the definition of USE_GLOG into singa_config.h
                 Key: SINGA-306
                 URL: https://issues.apache.org/jira/browse/SINGA-306
             Project: Singa
          Issue Type: Bug
            Reporter: wangwei
            Assignee: wangwei


cmake defines USE_GLOG if glog is installed before compilation;
otherwise USE_GLOG is undefined.

however, this variable was not written into singa_config.h. Consequently, if 
singa is compiled with glog, and the application program is compiled with 
USE_GLOG undefined, then there would be linking error. This ticket fixes the 
error by writing USE_GLOG into the singa_config.h.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to