mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-26 23:01:04 +08:00
cmake: libzmq can now be built with both sodium and TweetNaCL
This commit is contained in:
parent
7fe032180a
commit
2f63231860
@ -22,7 +22,7 @@ if(WITH_SODIUM)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(WITH_TWEETNACL AND NOT SODIUM_FOUND)
|
||||
if(WITH_TWEETNACL)
|
||||
message(STATUS "Building with TweetNaCL")
|
||||
set(USE_TWEETNACL ON)
|
||||
add_definitions(-DHAVE_TWEETNACL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user