mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 15:41:05 +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