From: Dmitry Shachnev Date: Sun, 15 May 2022 11:05:37 +0000 (+0100) Subject: fix syntax of regex X-Git-Tag: archive/raspbian/1.22.1-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6d8ec5308c36b64cd758c2911cae305fb32251f1;p=qbs.git fix syntax of regex Forwarded: https://codereview.qt-project.org/c/qbs/qbs/+/410156 Last-Update: 2022-05-07 Gbp-Pq: Name cmake_regex_syntax.diff --- diff --git a/cmake/QbsBuildConfig.cmake b/cmake/QbsBuildConfig.cmake index 166afe6d..a29f550f 100644 --- a/cmake/QbsBuildConfig.cmake +++ b/cmake/QbsBuildConfig.cmake @@ -142,7 +142,7 @@ function(add_qbs_library target_name) set(library_type STATIC) endif() - string(REGEX REPLACE "\\.[0..9]+$" "" _SOVERSION ${QBS_VERSION}) + string(REGEX REPLACE "\\.[0-9]+$" "" _SOVERSION ${QBS_VERSION}) add_library(${target_name} ${library_type} ${_arg_SOURCES}) target_compile_definitions(