Wireshark-dev: Re: [Wireshark-dev] Mac Build Error
From: David Morsberger <dave@xxxxxxxxxxxxxx>
Date: Thu, 21 Jan 2016 17:53:53 -0500

Sent from my iPhone

> On Jan 21, 2016, at 3:28 PM, Guy Harris <guy@xxxxxxxxxxxx> wrote:
> 
>> On Jan 21, 2016, at 12:10 PM, David Morsberger <dave@xxxxxxxxxxxxxx> wrote:
>> 
>> I think this is a bug in cmake because:
>> 
>> 1. the 'and run' in "CheckCSourceRuns: Check if the given C source code compiles and runs" should imply linking and executing the software.
> 
> Yes, and it *does* imply that.
> 
> The problem is that it doesn't let you cleanly specify which linker flags to use when doing the linking.

Unless cmake behaves differently based on flags and variables set, the -c option only compiles and assembles; doesn't link.