aboutsummaryrefslogtreecommitdiff
path: root/DefineOptions.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-09-16 08:21:12 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-09-16 10:38:14 +0200
commitb9ada252964acff8f5e17ddab9c654e0743b960a (patch)
tree0fe485961656b14995b320a44b8096b7f1432bf1 /DefineOptions.cmake
parent33cb1bc08bb150e35055a17aae93efc7e5da5940 (diff)
downloadlibssh-b9ada252964acff8f5e17ddab9c654e0743b960a.tar.gz
libssh-b9ada252964acff8f5e17ddab9c654e0743b960a.tar.xz
libssh-b9ada252964acff8f5e17ddab9c654e0743b960a.zip
cmake: Allow to build without examples.
BUG: https://red.libssh.org/issues/114
Diffstat (limited to 'DefineOptions.cmake')
-rw-r--r--DefineOptions.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/DefineOptions.cmake b/DefineOptions.cmake
index 6913f040..756b948a 100644
--- a/DefineOptions.cmake
+++ b/DefineOptions.cmake
@@ -12,6 +12,7 @@ option(WITH_INTERNAL_DOC "Compile doxygen internal documentation" OFF)
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)
if (WITH_ZLIB)
set(WITH_LIBZ ON)