forked from mindspore-Ecosystem/mindspore
fix lite vs compile error.
This commit is contained in:
parent
7193e1016d
commit
853da3ab71
|
@ -1,6 +1,6 @@
|
||||||
if(BUILD_LITE)
|
if(BUILD_LITE)
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
set(glog_CXXFLAGS "${CMAKE_CXX_FLAGS}")
|
set(glog_CXXFLAGS "${CMAKE_CXX_FLAGS} -Dgoogle=mindspore_private")
|
||||||
set(glog_CFLAGS "${CMAKE_C_FLAGS}")
|
set(glog_CFLAGS "${CMAKE_C_FLAGS}")
|
||||||
set(glog_LDFLAGS "${CMAKE_SHARED_LINKER_FLAGS}")
|
set(glog_LDFLAGS "${CMAKE_SHARED_LINKER_FLAGS}")
|
||||||
if(DEBUG_MODE)
|
if(DEBUG_MODE)
|
||||||
|
|
|
@ -27,7 +27,9 @@
|
||||||
#include <thread>
|
#include <thread>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include "utils/macros.h"
|
#include "utils/macros.h"
|
||||||
|
#ifndef BUILD_LITE
|
||||||
#include "utils/os.h"
|
#include "utils/os.h"
|
||||||
|
#endif
|
||||||
#include "utils/overload.h"
|
#include "utils/overload.h"
|
||||||
#include "./securec.h"
|
#include "./securec.h"
|
||||||
#ifdef USE_GLOG
|
#ifdef USE_GLOG
|
||||||
|
|
Loading…
Reference in New Issue