mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 08:34:00 +00: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()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WITH_TWEETNACL AND NOT SODIUM_FOUND)
|
if(WITH_TWEETNACL)
|
||||||
message(STATUS "Building with TweetNaCL")
|
message(STATUS "Building with TweetNaCL")
|
||||||
set(USE_TWEETNACL ON)
|
set(USE_TWEETNACL ON)
|
||||||
add_definitions(-DHAVE_TWEETNACL)
|
add_definitions(-DHAVE_TWEETNACL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user