提交 f2b35277 编写于 作者: L Liu Yiqun

Fix typo.

上级 a183960b
...@@ -74,8 +74,8 @@ IF(NOT DEFINED ANDROID_ARM_NEON) ...@@ -74,8 +74,8 @@ IF(NOT DEFINED ANDROID_ARM_NEON)
SET(ANDROID_ARM_NEON ON) SET(ANDROID_ARM_NEON ON)
ENDIF() ENDIF()
IF(${CMAKE_VERSION} VERSION_LESS "3.7.0") IF("${CMAKE_VERSION}" VERSION_LESS "3.7.0")
IF(${CMAKE_VERSION} VERSION_LESS "3.1.0") IF("${CMAKE_VERSION}" VERSION_LESS "3.1.0")
SET(CMAKE_SYSTEM_NAME "Linux") SET(CMAKE_SYSTEM_NAME "Linux")
ENDIF() ENDIF()
MESSAGE(WARNING "It is recommended to use CMake >= 3.7.0 (current version: " MESSAGE(WARNING "It is recommended to use CMake >= 3.7.0 (current version: "
......
...@@ -18,7 +18,7 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST) ...@@ -18,7 +18,7 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST)
SET(PROTOBUF_SOURCES_DIR ${THIRD_PARTY_PATH}/${TARGET_NAME}) SET(PROTOBUF_SOURCES_DIR ${THIRD_PARTY_PATH}/${TARGET_NAME})
SET(PROTOBUF_INSTALL_DIR ${THIRD_PARTY_PATH}/install/${TARGET_NAME}) SET(PROTOBUF_INSTALL_DIR ${THIRD_PARTY_PATH}/install/${TARGET_NAME})
SET(${TARGET_NAME}_INCLUDE_DIR "${PROTOBUF_INSTALL_DIR}/include" SET(${TARGET_NAME}_INCLUDE_DIR "${PROTOBUF_INSTALL_DIR}/include")
SET(PROTOBUF_INCLUDE_DIR "${PROTOBUF_INSTALL_DIR}/include" PARENT_SCOPE) SET(PROTOBUF_INCLUDE_DIR "${PROTOBUF_INSTALL_DIR}/include" PARENT_SCOPE)
SET(${TARGET_NAME}_LITE_LIBRARY SET(${TARGET_NAME}_LITE_LIBRARY
"${PROTOBUF_INSTALL_DIR}/lib/libprotobuf-lite${STATIC_LIBRARY_SUFFIX}" "${PROTOBUF_INSTALL_DIR}/lib/libprotobuf-lite${STATIC_LIBRARY_SUFFIX}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册