diff --git a/cmake/external/flatbuffers.cmake b/cmake/external/flatbuffers.cmake index fcd286254d213bac877da933dae06e539a3ba8f6..0250ccd6fec93cc08f60cabda625f37a2e981e10 100644 --- a/cmake/external/flatbuffers.cmake +++ b/cmake/external/flatbuffers.cmake @@ -44,7 +44,7 @@ SET(OPTIONAL_ARGS "-DCMAKE_CXX_COMPILER=${HOST_CXX_COMPILER}" ExternalProject_Add( extern_flatbuffers ${EXTERNAL_PROJECT_LOG_ARGS} - GIT_REPOSITORY "" + GIT_REPOSITORY "https://github.com/google/flatbuffers.git" GIT_TAG "v1.12.0" SOURCE_DIR ${FLATBUFFERS_SOURCES_DIR} PREFIX ${FLATBUFFERS_INCLUDE_DIR} diff --git a/lite/api/CMakeLists.txt b/lite/api/CMakeLists.txt index 3c7f4b23fe1c488db74dc266f53942746e352fcc..9ca26ef89740435beb614309191b9beae5a7e2bd 100644 --- a/lite/api/CMakeLists.txt +++ b/lite/api/CMakeLists.txt @@ -2,7 +2,7 @@ if(LITE_WITH_LIGHT_WEIGHT_FRAMEWORK OR (NOT LITE_WITH_LOG)) lite_cc_library(place SRCS paddle_place.cc DEPS logging) else() lite_cc_library(place SRCS paddle_place.cc DEPS glog) -endif(LITE_WITH_LIGHT_WEIGHT_FRAMEWORK) +endif() if (LITE_ON_TINY_PUBLISH) set(CMAKE_CXX_FLAGS_RELEASE "-Os -DNDEBUG")