Skip to content

Commit 870f016

Browse files
vuvovamidenok
authored andcommitted
don't git submodule update from rocksdb/CMakeLists.txt (#492)
we now have cmake/submodules.cmake that updates all submodules
1 parent 29d25e0 commit 870f016

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

storage/rocksdb/CMakeLists.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ MACRO(SKIP_ROCKSDB_PLUGIN msg)
99
RETURN()
1010
ENDMACRO()
1111

12-
IF(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/rocksdb/Makefile AND GIT_EXECUTABLE)
13-
EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule init
14-
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
15-
EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule update
16-
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
17-
ENDIF()
18-
1912
IF (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/rocksdb/Makefile")
2013
SKIP_ROCKSDB_PLUGIN("Missing Makefile in rocksdb directory. Try \"git submodule update\".")
2114
ENDIF()

0 commit comments

Comments
 (0)