wireshark-dev August 2011 archive
Main Archive Page > Month Archives  > wireshark-dev archives
wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 38345

Re: [Wireshark-dev] [Wireshark-commits] rev 38345: /trunk/ /trunk/: CMakeLists.txt /trunk/wsutil/: CMakeLists.txt

From: Joerg Mayer <jmayer_at_nospam>
Date: Fri Aug 05 2011 - 17:15:13 GMT
To: Developer support list for Wireshark <wireshark-dev@wireshark.org>

On Fri, Aug 05, 2011 at 10:07:10AM -0700, Gerald Combs wrote:
> I'm trying to use CMake with MacPorts, with GLib, GTK+, et al residing
> in /opt/local. After running "cmake ." I end up with the following in
> CMakeCache.txt:
>
> GLIB2_LDFLAGS:INTERNAL=-L/opt/local/lib;-lglib-2.0;-lintl;-liconv
> GLIB2_LIBRARIES:INTERNAL=glib-2.0;intl;iconv
>
> Compilation fails with
>
> set(wsutil_LIBS
> ${GLIB2_LIBRARIES}
> )
>
> It looks like this is because wsutil/CMakeFiles/wsutil.dir/link.txt is
> missing "-L/opt/local/lib". When I change GLIB2_LIBRARIES to
> GLIB2_LDFLAGS link.txt gets created with the proper flags and
> compilation works.

Yes, I have undone your change and checked in something that I hope is
the "right" fix to FindGLIB2 earlier today.

> BTW, I added "cmake ." + "make" steps to the Buildbot.

Thanks!

Joerg

-- Joerg Mayer <jmayer@loplof.de> We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology. ___________________________________________________________________________ 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