From 8bcb835aa4ffb4e11deeb6ecea17387193ef7e8f Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 2 Mar 2010 23:48:45 +0100 Subject: Fixed unit testing. --- DefineOptions.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'DefineOptions.cmake') 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) + -- cgit v1.2.3