From 3a6ca32698af983061bbdec32a17ed4e5b77d841 Mon Sep 17 00:00:00 2001 From: wangguibao Date: Wed, 27 Feb 2019 16:49:58 +0800 Subject: [PATCH] Avoid updating leveldb every build Change-Id: Id083c9b27219d496c96a1b619665471cc45372c8 --- cmake/external/leveldb.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/external/leveldb.cmake b/cmake/external/leveldb.cmake index 0df61b01..0bec123f 100644 --- a/cmake/external/leveldb.cmake +++ b/cmake/external/leveldb.cmake @@ -26,6 +26,7 @@ ExternalProject_Add( PREFIX ${LEVELDB_SOURCES_DIR} GIT_REPOSITORY "https://github.com/google/leveldb" GIT_TAG v1.18 + UPDATE_COMMAND "" CONFIGURE_COMMAND "" BUILD_COMMAND CXXFLAGS=-fPIC make -j ${NUM_OF_PROCESSOR} libleveldb.a INSTALL_COMMAND mkdir -p ${LEVELDB_INSTALL_DIR}/lib/ -- GitLab