On Wed, Sep 23, 2009 at 5:52 AM, Hendrik Sattler <[email protected]>wrote:

> Zitat von Philip Lowman <[email protected]>:
>
>> FWIW, FindFLEX.cmake and FindBISON.cmake were both recently checked into
>> CMake CVS and might be worth a look.
>>
>>
>> http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindFLEX.cmake?root=CMake&view=log
>>
>> http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindBISON.cmake?root=CMake&view=log
>>
>> The FindBISON module will suffer the same problem as posted above.
>>  Someone
>> could a patch into the bison people to allow the full path to m4 to be
>> specified as a command line option?
>>
>
> AFAIK, this is possible with environment variables BISON_M4 or M4, see:
> http://osdir.com/ml/parsers.bison.bugs/2007-05/msg00012.html
>
> If that works, maybe the standard bison call should be replaced with a call
> to a cmake script that sets this variable correctly.
>

Excellent find!  I don't think add_custom_command supports adding
environment variables though..?

http://public.kitware.com/Bug/view.php?id=9587

-- 
Philip Lowman
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to