0
0
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:
Anonymous Maarten 2015-10-24 00:16:01 +02:00
parent 7fe032180a
commit 2f63231860

View File

@ -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)