mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 02:25:14 -07:00
Update Findsodium.cmake
A STREQUAL was left during the previous fix. Removed now.
This commit is contained in:
parent
c0cb0a9f98
commit
70d52cbea2
@ -55,7 +55,7 @@ if (UNIX)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(sodium_USE_STATIC_LIBS)
|
if(sodium_USE_STATIC_LIBS)
|
||||||
if (sodium_PKG_STATIC_LIBRARIES STREQUAL)
|
if (sodium_PKG_STATIC_LIBRARIES)
|
||||||
foreach(_libname ${sodium_PKG_STATIC_LIBRARIES})
|
foreach(_libname ${sodium_PKG_STATIC_LIBRARIES})
|
||||||
if (NOT _libname MATCHES "^lib.*\\.a$") # ignore strings already ending with .a
|
if (NOT _libname MATCHES "^lib.*\\.a$") # ignore strings already ending with .a
|
||||||
list(INSERT sodium_PKG_STATIC_LIBRARIES 0 "lib${_libname}.a")
|
list(INSERT sodium_PKG_STATIC_LIBRARIES 0 "lib${_libname}.a")
|
||||||
|
Loading…
Reference in New Issue
Block a user