|
|
@@ -14,7 +14,7 @@ set(PROTOBUF_STATIC_PKG_DIR ${CMAKE_INSTALL_PREFIX}/protobuf_static) |
|
|
|
ExternalProject_Add(protobuf_static_build |
|
|
|
URL https://github.com/protocolbuffers/protobuf/archive/v3.8.0.tar.gz |
|
|
|
#URL /home/txd/workspace/linux_cmake/pkg/protobuf-3.8.0.tar.gz |
|
|
|
#SOURCE_DIR ${METADEF_DIR}/../../third_party/protobuf/src/protobuf-3.8.0 |
|
|
|
#SOURCE_DIR ${GE_CODE_DIR}/../../third_party/protobuf/src/protobuf-3.8.0 |
|
|
|
CONFIGURE_COMMAND ${CMAKE_COMMAND} |
|
|
|
-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} |
|
|
|
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} |
|
|
|