projects
/
qbs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd222f6
)
fix syntax of regex
author
Dmitry Shachnev
<mitya57@debian.org>
Sun, 15 May 2022 11:05:37 +0000
(12:05 +0100)
committer
Dmitry Shachnev
<mitya57@debian.org>
Sun, 15 May 2022 11:05:37 +0000
(12:05 +0100)
Forwarded: https://codereview.qt-project.org/c/qbs/qbs/+/410156
Last-Update: 2022-05-07
Gbp-Pq: Name cmake_regex_syntax.diff
cmake/QbsBuildConfig.cmake
patch
|
blob
|
history
diff --git
a/cmake/QbsBuildConfig.cmake
b/cmake/QbsBuildConfig.cmake
index 166afe6d528a0d038efb5173921e89df9a5b5af6..a29f550f255e74f70880c744905c8a4fb8aecc2a 100644
(file)
--- 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(