未验证 提交 0d25d55a 编写于 作者: 石晓伟 提交者: GitHub

update the cmake cmd, test=develop (#28344)

上级 f4019077
...@@ -34,6 +34,11 @@ ExternalProject_Add( ...@@ -34,6 +34,11 @@ ExternalProject_Add(
"${PYBIND_DOWNLOAD_CMD}" "${PYBIND_DOWNLOAD_CMD}"
PREFIX ${PYBIND_PREFIX_DIR} PREFIX ${PYBIND_PREFIX_DIR}
SOURCE_DIR ${PYBIND_SOURCE_DIR} SOURCE_DIR ${PYBIND_SOURCE_DIR}
# If we explicitly leave the `UPDATE_COMMAND` of the ExternalProject_Add
# function in CMakeLists blank, it will cause another parameter GIT_TAG
# to be modified without triggering incremental compilation, and the
# third-party library version changes cannot be incorporated.
# reference: https://cmake.org/cmake/help/latest/module/ExternalProject.html
UPDATE_COMMAND "" UPDATE_COMMAND ""
CONFIGURE_COMMAND "" CONFIGURE_COMMAND ""
BUILD_COMMAND "" BUILD_COMMAND ""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册