Add option for USE_THREADS.
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 16 Jul 2011 13:05:46 +0000 (13:05 +0000)
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 16 Jul 2011 13:05:46 +0000 (13:05 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38061 f5534014-38df-0310-8fa8-9805f1628bb7

CMakeLists.txt
CMakeOptions.txt

index b52d0d064da36d931c31fb42fe9184225850c203..f5494579cd13abd36029bbd6df3e7f90b34ca8f0 100644 (file)
@@ -440,6 +440,10 @@ if(ENABLE_PCAP_NG_DEFAULT)
        set(PCAP_NG_DEFAULT 1)
 endif()
 
+if(ENABLE_THREADS)
+       set(USE_THREADS 1)
+endif()
+
 #Platform specific
 if(UNIX)
        set(WS_VAR_IMPORT "extern")
index 1c3a544f132b0c66bc18964f9547eb4615d8dcdf..3d5a99843d154f4dcbd508507c171d7014025204 100644 (file)
@@ -30,6 +30,7 @@ option(ENABLE_STATIC     "Build a static version of Wireshark (not yet working)"
 option(ENABLE_PLUGINS    "Build with plugins" ON)
 option(ENABLE_GUIDES     "Build Guides" OFF)
 option(ENABLE_PCAP_NG_DEFAULT  "Enable pcap-ng as default file format" ON)
+option(ENABLE_THREADS    "Build with threads support" ON)
 
 option(ENABLE_ADNS       "Build with adns support" ON)
 option(ENABLE_PCRE       "Build with pcre support" OFF)