Add option for USE_THREADS.

svn path=/trunk/; revision=38061
This commit is contained in:
Michael Tüxen 2011-07-16 13:05:46 +00:00
parent 4c7db09d5c
commit 7b52f1bb96
2 changed files with 5 additions and 0 deletions

View 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")

View 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)