ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] UseLemon.cmake call with lemon fullpath

From: João Henrique Freitas <joaohf@xxxxxxxxx>
Date: Wed, 6 Apr 2011 21:40:54 -0300
Hi

wireshark (1.4.4) uses the script cmake/modules/UseLemon.cmake to call lemon.

I think it's need to call lemon tool with full path. Like this:

--- cmake/modules/UseLemon.cmake        2011-03-01 14:02:20.000000000 -0300
+++ /home_local/usuario/w/UseLemon.cmake        2011-04-06
21:29:02.000000000 -0300
@@ -12,7 +12,7 @@
       ADD_CUSTOM_COMMAND(
          OUTPUT
          ${_out}
-         COMMAND lemon
+         COMMAND ${_lemonpardir}/lemon
            t=${_lemonpardir}/lempar.c
            ${srcdir}/${_in}
          DEPENDS ${_in}

Thanks

-- 
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br