Be more flexible about version number quoting
Some versions of libtool write quotes around the version number, some do not; we must handle both cases.
This commit is contained in:
parent
12dfe529ff
commit
79f64d2c16
@ -116,7 +116,7 @@ function (configure_la name target)
|
||||
endif (libtool_MAIN)
|
||||
if (ltversion_STRING)
|
||||
string (REGEX REPLACE
|
||||
"^VERSION=\"(.*)\""
|
||||
"^VERSION=\"?(.*)\"?"
|
||||
"\\1"
|
||||
ltversion
|
||||
${ltversion_STRING}
|
||||
|
Loading…
Reference in New Issue
Block a user