Re: [CMake] FIND_PROGRAM w/ CMake 2.8.2 and Cygwin

2011-01-11 Thread Emmanuel Blot
> Manu, > please maintain the discussion on the mailing list as these is a general issue Sure, sorry (actually I replied to your PM, I have not seen it did not contain a cc: to the ML) > if you are cross compiling, the target is not cygwin, so CYGWIN is not > defined. Ok, understood. > However

Re: [CMake] FIND_PROGRAM w/ CMake 2.8.2 and Cygwin

2011-01-11 Thread marco atzeri
On Mon, Jan 10, 2011 at 6:55 PM, Emmanuel Blot wrote: > On Mon, Jan 10, 2011 at 5:56 PM, marco atzeri wrote: >> I don't understand why you find and empty definition > > Well, it seems that CYGWIN is not defined: > >  MESSAGE (STATUS "CYGWIN: ${CYGWIN}") >  MESSAGE (STATUS "Suffix: ${CMAKE_EXECUTA

Re: [CMake] FIND_PROGRAM w/ CMake 2.8.2 and Cygwin

2011-01-10 Thread Eric Noulard
2011/1/10 marco atzeri : > On Mon, Jan 10, 2011 at 3:43 PM, Emmanuel Blot  wrote: >> Hello All, [...] >> >> 1/ Is this a known issue / new regression? >>  I have not been subscribed to the ML for a while, and I can't find a >> decent way to search through the ML archives, >> http://www.cmake.org/pi

Re: [CMake] FIND_PROGRAM w/ CMake 2.8.2 and Cygwin

2011-01-10 Thread marco atzeri
On Mon, Jan 10, 2011 at 3:43 PM, Emmanuel Blot wrote: > Hello All, > > I've just bumped into an issue with Cygwin. > > I have not compiled with CMake and Cygwin for a while, so I'm not sure > where the problem comes from (Cygwin, CMake, or the combination of > both). > > The following command used

[CMake] FIND_PROGRAM w/ CMake 2.8.2 and Cygwin

2011-01-10 Thread Emmanuel Blot
Hello All, I've just bumped into an issue with Cygwin. I have not compiled with CMake and Cygwin for a while, so I'm not sure where the problem comes from (Cygwin, CMake, or the combination of both). The following command used to work on all platforms (Linux, Mac OS X, Cygwin): FIND_PROGRAM (x