diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-09-21 23:32:51 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2013-11-03 13:18:26 +0100 |
commit | f565aeebfa108d03e5c782881edd2ced849a4989 (patch) | |
tree | e0c68647e4f7c54adfee6b98fe34c57ba40e0e77 /DefineOptions.cmake | |
parent | 04cb94a2ddb091c82764ed2b3981f891b093d5d3 (diff) | |
download | libssh-f565aeebfa108d03e5c782881edd2ced849a4989.tar.gz libssh-f565aeebfa108d03e5c782881edd2ced849a4989.tar.xz libssh-f565aeebfa108d03e5c782881edd2ced849a4989.zip |
Compile libssh with nacl if possible
Conflicts:
DefineOptions.cmake
Diffstat (limited to 'DefineOptions.cmake')
-rw-r--r-- | DefineOptions.cmake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/DefineOptions.cmake b/DefineOptions.cmake index 756b948a..ab7819a5 100644 --- a/DefineOptions.cmake +++ b/DefineOptions.cmake @@ -13,7 +13,7 @@ option(WITH_TESTING "Build with unit tests" OFF) option(WITH_CLIENT_TESTING "Build with client tests; requires a running sshd" OFF) option(WITH_BENCHMARKS "Build benchmarks tools" OFF) option(WITH_EXAMPLES "Build examples" ON) - +option(WITH_NACL "Build with libnacl (curve25519" ON) if (WITH_ZLIB) set(WITH_LIBZ ON) else (WITH_ZLIB) @@ -27,3 +27,7 @@ endif(WITH_BENCHMARKS) if (WITH_TESTING) set(WITH_STATIC_LIB ON) endif (WITH_TESTING) + +if (WITH_NACL) + set(WITH_NACL ON) +endif (WITH_NACL)
\ No newline at end of file |