diff options
Diffstat (limited to 'DefineOptions.cmake')
-rw-r--r-- | DefineOptions.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/DefineOptions.cmake b/DefineOptions.cmake index ce251e12..f7a52442 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) + |