Commit c796cf87 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: 1804f5b1e4e6f190fac93331bc8cd71a8476993e
parent 5c25d561
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)