We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5875633 commit 884fd9aCopy full SHA for 884fd9a
storage/rocksdb/CMakeLists.txt
@@ -1,5 +1,10 @@
1
# TODO: Copyrights
2
-
+IF(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/rocksdb/Makefile AND GIT_EXECUTABLE)
3
+ EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule init
4
+ WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}")
5
+ EXECUTE_PROCESS(COMMAND "${GIT_EXECUTABLE}" submodule update
6
7
+ENDIF()
8
9
IF (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/rocksdb/Makefile")
10
MESSAGE(SEND_ERROR "Missing Makefile in rocksdb directory. Try \"git submodule update\".")
0 commit comments