Wireshark mailing list archives
Re: [Wireshark-commits] rev 38345: /trunk/ /trunk/: CMakeLists.txt /trunk/wsutil/: CMakeLists.txt
From: Joerg Mayer <jmayer () loplof de>
Date: Fri, 5 Aug 2011 19:15:13 +0200
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
Current thread:
- Re: [Wireshark-commits] rev 38345: /trunk/ /trunk/: CMakeLists.txt /trunk/wsutil/: CMakeLists.txt Joerg Mayer (Aug 04)
- Re: [Wireshark-commits] rev 38345: /trunk/ /trunk/: CMakeLists.txt /trunk/wsutil/: CMakeLists.txt Joerg Mayer (Aug 05)
- Re: [Wireshark-commits] rev 38345: /trunk/ /trunk/: CMakeLists.txt /trunk/wsutil/: CMakeLists.txt Gerald Combs (Aug 05)
- Re: [Wireshark-commits] rev 38345: /trunk/ /trunk/: CMakeLists.txt /trunk/wsutil/: CMakeLists.txt Joerg Mayer (Aug 05)
- Re: [Wireshark-commits] rev 38345: /trunk/ /trunk/: CMakeLists.txt /trunk/wsutil/: CMakeLists.txt Gerald Combs (Aug 05)
- Re: [Wireshark-commits] rev 38345: /trunk/ /trunk/: CMakeLists.txt /trunk/wsutil/: CMakeLists.txt Stig Bjørlykke (Aug 05)
- Re: [Wireshark-commits] rev 38345: /trunk/ /trunk/: CMakeLists.txt /trunk/wsutil/: CMakeLists.txt Gerald Combs (Aug 05)
- Re: [Wireshark-commits] rev 38345: /trunk/ /trunk/: CMakeLists.txt /trunk/wsutil/: CMakeLists.txt Joerg Mayer (Aug 05)