diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2019-11-06 09:10:09 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-11-07 14:00:15 +0100 |
commit | c2c354539112eb89862ec4472af3ea5aeafa2824 (patch) | |
tree | f41ac2f4b5ae3446e4dafdcf38219276cf61d5c0 /DefineOptions.cmake | |
parent | 729c92606c88b60e7c255d393756d1d3b7e30698 (diff) | |
download | libssh-c2c354539112eb89862ec4472af3ea5aeafa2824.tar.gz libssh-c2c354539112eb89862ec4472af3ea5aeafa2824.tar.xz libssh-c2c354539112eb89862ec4472af3ea5aeafa2824.zip |
cmake: Add option to build shared libs
See https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Diffstat (limited to 'DefineOptions.cmake')
-rw-r--r-- | DefineOptions.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/DefineOptions.cmake b/DefineOptions.cmake index ac81b47b..b82a5018 100644 --- a/DefineOptions.cmake +++ b/DefineOptions.cmake @@ -10,6 +10,7 @@ option(WITH_MBEDTLS "Compile against libmbedtls" OFF) option(WITH_BLOWFISH_CIPHER "Compile with blowfish support" OFF) option(WITH_PCAP "Compile with Pcap generation support" ON) option(WITH_INTERNAL_DOC "Compile doxygen internal documentation" OFF) +option(BUILD_SHARED_LIBS "Build shared libraries" ON) option(UNIT_TESTING "Build with unit tests" OFF) option(CLIENT_TESTING "Build with client tests; requires openssh" OFF) option(SERVER_TESTING "Build with server tests; requires openssh and dropbear" OFF) |