mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
Fix Findsodium.cmake SODIUM_VERSION_STRING regex
This commit is contained in:
parent
3e5c2531eb
commit
2bf56d7ebd
@ -213,7 +213,7 @@ if(sodium_INCLUDE_DIR)
|
||||
string(
|
||||
REGEX
|
||||
REPLACE
|
||||
".*#[ \t]*define[ \t]*sodium_VERSION_STRING_STRING[ \t]*\"([^\n]*)\".*"
|
||||
".*define[ \t]+SODIUM_VERSION_STRING[^\"]+\"([^\"]+)\".*"
|
||||
"\\1"
|
||||
sodium_VERSION_STRING
|
||||
"${_VERSION_HEADER_CONTENT}")
|
||||
|
Loading…
Reference in New Issue
Block a user