mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
commit
6ade56018e
@ -69,9 +69,10 @@ GET_LAST_COMMIT_ID(LAST_COMMIT_ID)
|
||||
message(STATUS "LAST_COMMIT_ID = ${LAST_COMMIT_ID}")
|
||||
if (NOT LAST_COMMIT_ID STREQUAL "")
|
||||
string(REGEX REPLACE "\n" "" LAST_COMMIT_ID ${LAST_COMMIT_ID})
|
||||
endif ()
|
||||
|
||||
set(LAST_COMMIT_ID "${LAST_COMMIT_ID}")
|
||||
else ()
|
||||
set(LAST_COMMIT_ID "Unknown")
|
||||
endif ()
|
||||
|
||||
# set build type
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
|
Loading…
Reference in New Issue
Block a user