Wireshark mailing list archives

Re: [Wireshark-commits] rev 52484: /trunk/ /trunk/docbook/: CMakeLists.txt /trunk/cmake/modules/: FindXSLTPROC.cmake


From: Bálint Réczey <balint () balintreczey hu>
Date: Thu, 10 Oct 2013 10:57:15 +0200

Hi,

2013/10/10 Joerg Mayer <jmayer () loplof de>:
On Thu, Oct 10, 2013 at 05:02:51AM +0000, rbalint () wireshark org wrote:
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=52484

User: rbalint
Date: 2013/10/10 05:02 AM

Log:
 Fix using fop from CMake

Last time I tried (~1 week ago), this worked fine.
What problem does this fix?
CMake did not use the found fop for me and I thought it was due to
macro expansion.
Since I can not reproduce it now on my system even with the old code I
suspect it was
related to some cache of CMake I forgot to clean after enabling
building the user guides and installing fop.

I have reverted the commit since the old code was simpler.

BTW I think the question in XML2PDF macro
    # FIXME: How do I extract the first element of a variable containing a
    # list of values? Isn't there a "cleaner" solution?
    # Oh, and I have no idea why I can't directly use _source instead of
    # having to introduce _tmpsource.
    FOREACH(_tmpsource ${${_xmlsources}})
        set(_source ${_tmpsource})
        BREAK()
    ENDFOREACH()
is answered here:
http://stackoverflow.com/questions/5248749/passing-a-list-to-a-cmake-macro

Thanks,
Balint
___________________________________________________________________________
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: