mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 02:25:14 -07:00
Indent
This commit is contained in:
parent
fbd47e868c
commit
3f27018394
@ -210,13 +210,11 @@ if(sodium_INCLUDE_DIR)
|
|||||||
set(_VERSION_HEADER "${sodium_INCLUDE_DIR}/sodium/version.h")
|
set(_VERSION_HEADER "${sodium_INCLUDE_DIR}/sodium/version.h")
|
||||||
if(EXISTS "${_VERSION_HEADER}")
|
if(EXISTS "${_VERSION_HEADER}")
|
||||||
file(READ "${_VERSION_HEADER}" _VERSION_HEADER_CONTENT)
|
file(READ "${_VERSION_HEADER}" _VERSION_HEADER_CONTENT)
|
||||||
string(
|
string(REGEX
|
||||||
REGEX
|
REPLACE ".*define[ \t]+SODIUM_VERSION_STRING[^\"]+\"([^\"]+)\".*"
|
||||||
REPLACE
|
"\\1"
|
||||||
".*define[ \t]+SODIUM_VERSION_STRING[^\"]+\"([^\"]+)\".*"
|
sodium_VERSION_STRING
|
||||||
"\\1"
|
"${_VERSION_HEADER_CONTENT}")
|
||||||
sodium_VERSION_STRING
|
|
||||||
"${_VERSION_HEADER_CONTENT}")
|
|
||||||
set(sodium_VERSION_STRING "${sodium_VERSION_STRING}")
|
set(sodium_VERSION_STRING "${sodium_VERSION_STRING}")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user