Commit 530b2a0f authored by Zhiru Zhu's avatar Zhiru Zhu
Browse files

fix cmake error: STRING sub-command REGEX, mode REPLACE needs at least 6 arguments total to

  command


Former-commit-id: 773f938125ed03582fc8242af0a23076677bf848
parent b60677b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)