aboutsummaryrefslogtreecommitdiff
path: root/DefineOptions.cmake
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2010-03-02 23:48:45 +0100
committerAndreas Schneider <mail@cynapses.org>2010-03-02 23:49:21 +0100
commit8bcb835aa4ffb4e11deeb6ecea17387193ef7e8f (patch)
tree29b0f0f1bea4df1116957e880afedb3100ffc820 /DefineOptions.cmake
parenteec35329556799b9301d3856e60951a274ce2ea5 (diff)
downloadlibssh-8bcb835aa4ffb4e11deeb6ecea17387193ef7e8f.tar.gz
libssh-8bcb835aa4ffb4e11deeb6ecea17387193ef7e8f.tar.xz
libssh-8bcb835aa4ffb4e11deeb6ecea17387193ef7e8f.zip
Fixed unit testing.
Diffstat (limited to 'DefineOptions.cmake')
-rw-r--r--DefineOptions.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/DefineOptions.cmake b/DefineOptions.cmake
index ce251e1..f7a5244 100644
--- a/DefineOptions.cmake
+++ b/DefineOptions.cmake
@@ -9,3 +9,7 @@ option(WITH_GCRYPT "Compile against libgcrypt" OFF)
option(WITH_PCAP "Compile with Pcap generation support" ON)
option(WITH_INTERNAL_DOC "Compile doxygen internal documentation" OFF)
option(WITH_TESTING "Build with unit tests" OFF)
+if (WITH_TESTING)
+ set(WITH_STATIC_LIB ON)
+endif (WITH_TESTING)
+