Skip to content

Commit a90fdba

Browse files
committed
Revert "Change version string handling to ignore suffixes in CMakeLists.txt"
This reverts commit 821d58c.
1 parent 3bfdd92 commit a90fdba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ endif()
4444
# filenames)
4545
file(
4646
STRINGS src/config.inc CBMC_VERSION
47-
REGEX "CBMC_VERSION = ([0-9.]+).*")
48-
string(REGEX REPLACE "CBMC_VERSION = ([0-9.]+).*" "\\1" CBMC_VERSION ${CBMC_VERSION})
47+
REGEX "CBMC_VERSION = (.*)")
48+
string(REGEX REPLACE "CBMC_VERSION = (.*)" "\\1" CBMC_VERSION ${CBMC_VERSION})
4949
message(STATUS "Building CBMC version ${CBMC_VERSION}")
5050

5151
project(CBMC VERSION ${CBMC_VERSION})

0 commit comments

Comments
 (0)