File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 10
10
[submodule "third-party/protobuf-host "]
11
11
path = third-party/protobuf-host
12
12
url = https://github.com/protocolbuffers/protobuf.git
13
+ [submodule "third-party/glog "]
14
+ path = third-party/glog
15
+ url = https://github.com/google/glog.git
Original file line number Diff line number Diff line change 14
14
15
15
INCLUDE (ExternalProject )
16
16
17
- SET (GLOG_SOURCES_DIR ${THIRD_PARTY_PATH} /glog )
17
+ SET (GLOG_SOURCES_DIR ${CMAKE_SOURCE_DIR} /third-party /glog )
18
18
SET (GLOG_INSTALL_DIR ${THIRD_PARTY_PATH} /install/glog )
19
19
SET (GLOG_INCLUDE_DIR "${GLOG_INSTALL_DIR} /include" CACHE PATH "glog include directory." FORCE )
20
20
@@ -44,9 +44,10 @@ ExternalProject_Add(
44
44
extern_glog
45
45
${EXTERNAL_PROJECT_LOG_ARGS}
46
46
DEPENDS gflags
47
- GIT_REPOSITORY ${GLOG_REPOSITORY}
47
+ GIT_REPOSITORY ""
48
48
GIT_TAG ${GLOG_TAG}
49
49
PREFIX ${GLOG_SOURCES_DIR}
50
+ SOURCE_DIR ${GLOG_SOURCES_DIR}
50
51
UPDATE_COMMAND ""
51
52
CMAKE_ARGS ${CROSS_COMPILE_CMAKE_ARGS}
52
53
${OPTIONAL_ARGS}
You can’t perform that action at this time.
0 commit comments