8000 Do not build etcd in source · jsxtech/arangodb@edf3780 · GitHub
[go: up one dir, main page]

Skip to content

Commit edf3780

Browse files
committed
Do not build etcd in source
1 parent cd1b2b6 commit edf3780

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

3rdParty/CMakeLists.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,17 @@ if (GO_FOUND)
1717
set (ETCD_BUILD_COMMAND ./build)
1818
endif ()
1919

20-
ExternalProject_Add(etcd_build
21-
SOURCE_DIR
22-
${CMAKE_CURRENT_SOURCE_DIR}/etcd
20+
ExternalProject_Add(etcd
2321
CONFIGURE_COMMAND
2422
""
23+
URL
24+
"${CMAKE_CURRENT_SOURCE_DIR}/etcd"
2525
BUILD_IN_SOURCE
26-
TRUE
26+
1
2727
BUILD_COMMAND
2828
"${ETCD_BUILD_COMMAND}"
2929
INSTALL_COMMAND
30-
"cp"
31-
${CMAKE_CURRENT_SOURCE_DIR}/etcd/bin/etcd
32-
${CMAKE_BINARY_DIR}/bin/etcd-arango
30+
cp bin/etcd ${CMAKE_BINARY_DIR}/bin/etcd-arango
3331
)
3432
endif ()
3533

0 commit comments

Comments
 (0)
0