Wireshark mailing list archives

Re: Building under OSX Yosemite using cmake


From: Guy Harris <guy () alum mit edu>
Date: Mon, 10 Nov 2014 19:02:07 -0800


On Nov 10, 2014, at 6:18 PM, David Ameiss <netshark () ameissnet com> wrote:

On Nov 10, 2014, at 8:10 PM, Guy Harris <guy () alum mit edu> wrote:

On Nov 10, 2014, at 12:43 PM, David Ameiss <netshark () ameissnet com> wrote:

- With the Xcode 6.1 command-line tools for Yosemite, for some reason 
"-I/System/Library/Frameworks/Kernel.framework/headers" gets put into the command line. This causes a whole raft of 
strange compile problems, apparently since the headers in that location are not complete. I did not run into this 
issue under Mavericks. I was able to work around this problem by adding "-D CMAKE_FIND_FRAMEWORK=LAST" to the cmake 
command line.

It sounds, from the workaround involving a CMake flag, that this indicates that it's CMake that's putting that into 
the Makefiles it generates.  Is that the case?

Not sure.

Yes, it's the case.  It's in tools/lemon/CMakeFiles/lemon.dir/flags.make under the build directory, for example.

I'll look further to see where that's coming from.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: