Wireshark-dev: Re: [Wireshark-dev] CMake: Disable building with QT ?

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Thu, 12 Nov 2015 11:23:05 -0800
On 11/12/15 10:51 AM, Bill Meier wrote:
> On 11/12/2015 1:13 PM, Bill Meier wrote:
>> How do I disable building QT Wireshark when using CMake ?
>>
>> Thanks
>>
>> Bill
> 
> 
> Answering my own question:
> 
> cmake -DBUILD_wireshark=OFF ...

You can also edit the corresponding BUILD_wireshark line in CMakeCache.txt.
The next time you run "make" it *should* re-run cmake, although this
doesn't seem to work reliably for MSBuild. I regularly do this with other
options such as ENABLE_QT5, ENABLE_HTML_GUIDES, and ENABLE_CHM_GUIDES.