mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-06 10:52:56 +08:00
fix cmake error: STRING sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command Former-commit-id: 773f938125ed03582fc8242af0a23076677bf848
This commit is contained in:
parent
b60677b474
commit
530b2a0f28
@ -114,7 +114,7 @@ if (UNIX)
|
||||
OUTPUT_VARIABLE LSB_RELEASE_ID_SHORT
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
STRING(REGEX REPLACE "\\." "_" UBUNTU_VERSION ${LSB_RELEASE_ID_SHORT})
|
||||
STRING(REGEX REPLACE "\\." "_" UBUNTU_VERSION "${LSB_RELEASE_ID_SHORT}")
|
||||
endif (UBUNTU_FOUND)
|
||||
endif (UBUNTU_EXTRA)
|
||||
endif (DEBIAN_FOUND)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user