|
|
@@ -9,13 +9,17 @@ if ((${CMAKE_INSTALL_PREFIX} STREQUAL /usr/local) OR |
|
|
|
set(CMAKE_INSTALL_PREFIX ${GE_CODE_DIR}/output CACHE STRING "path for install()" FORCE) |
|
|
|
message(STATUS "No install prefix selected, default to ${CMAKE_INSTALL_PREFIX}.") |
|
|
|
endif() |
|
|
|
|
|
|
|
if (ENABLE_GITEE) |
|
|
|
set(REQ_URL "https://gitee.com/mirrors/gflags/repository/archive/v2.2.2.tar.gz") |
|
|
|
if (GE_PB_PKG) |
|
|
|
set(REQ_URL "${GE_PB_PKG}/libs/gflags/v2.2.2.tar.gz"") |
|
|
|
set(MD5 "") |
|
|
|
else() |
|
|
|
set(REQ_URL "https://github.com/gflags/gflags/archive/v2.2.2.tar.gz") |
|
|
|
set(MD5 "") |
|
|
|
if (ENABLE_GITEE) |
|
|
|
set(REQ_URL "https://gitee.com/mirrors/gflags/repository/archive/v2.2.2.tar.gz") |
|
|
|
set(MD5 "") |
|
|
|
else() |
|
|
|
set(REQ_URL "https://github.com/gflags/gflags/archive/v2.2.2.tar.gz") |
|
|
|
set(MD5 "") |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
|
|
|
|
set (gflags_CXXFLAGS "-D_GLIBCXX_USE_CXX11_ABI=0 -Dgoogle=ascend_private") |
|
|
|